[Bps-public-commit] r17685 - Prophet/trunk/lib/Prophet/CLI/Command

jesse at bestpractical.com jesse at bestpractical.com
Fri Jan 9 17:20:14 EST 2009


Author: jesse
Date: Fri Jan  9 17:20:14 2009
New Revision: 17685

Modified:
   Prophet/trunk/lib/Prophet/CLI/Command/Pull.pm

Log:
* fix pull --all to cope with the new format for foreign replicas in the config file

Modified: Prophet/trunk/lib/Prophet/CLI/Command/Pull.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Command/Pull.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI/Command/Pull.pm	Fri Jan  9 17:20:14 2009
@@ -17,7 +17,12 @@
     }
 
     elsif ($self->has_arg('all')){
-        push @from, values %$previous_sources;
+        for my $source (values %$previous_sources) {
+            my ($url, $uuid ) = split(qr/ \| /,$source,2);
+            push @from, $url;
+
+        }
+
     }
 
     $self->validate_args;



More information about the Bps-public-commit mailing list