[Bps-public-commit] r14738 - in Shipwright/trunk: lib/Shipwright/Backend

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Aug 3 05:04:25 EDT 2008


Author: sunnavy
Date: Sun Aug  3 05:04:24 2008
New Revision: 14738

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Backend/Base.pm

Log:
 r15252 at sunnavys-mb:  sunnavy | 2008-08-03 16:43:36 +0800
 update_refs when import scripts/foo instead of dists/foo


Modified: Shipwright/trunk/lib/Shipwright/Backend/Base.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend/Base.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend/Base.pm	Sun Aug  3 05:04:24 2008
@@ -107,6 +107,8 @@
                     "import $args{source}'s scripts to " . $self->repository );
                 Shipwright::Util->run(
                     $self->_cmd( import => %args, name => $name ) );
+                $self->update_refs;
+
             }
         }
         else {
@@ -126,8 +128,6 @@
                 $version->{$name} = $args{version};
                 $self->version($version);
 
-                $self->update_refs;
-
                 Shipwright::Util->run(
                     $self->_cmd( import => %args, name => $name ) );
             }



More information about the Bps-public-commit mailing list