[Bps-public-commit] r17817 - in Shipwright/trunk: lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Jan 18 07:58:11 EST 2009


Author: sunnavy
Date: Sun Jan 18 07:58:10 2009
New Revision: 17817

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Script/Update.pm

Log:
 r18889 at sunnavys-mb:  sunnavy | 2009-01-18 18:13:59 +0800
 --all can not be specified with --as or NAME


Modified: Shipwright/trunk/lib/Shipwright/Script/Update.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Update.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Script/Update.pm	Sun Jan 18 07:58:10 2009
@@ -51,6 +51,9 @@
         $branches = $shipwright->backend->branches;
 
         if ( $self->all ) {
+            confess '--all can not be specified with --as or NAME'
+              if @_ || $self->as;
+
             my $dists = $shipwright->backend->order || [];
             for (@$dists) {
                 $self->_update($_);



More information about the Bps-public-commit mailing list