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

jesse at bestpractical.com jesse at bestpractical.com
Sun Aug 10 03:55:47 EDT 2008


Author: jesse
Date: Sun Aug 10 03:55:47 2008
New Revision: 14978

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

Log:
* it doesn't matter if we've seen a source before when we explicitly ask for it.

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	Sun Aug 10 03:55:47 2008
@@ -11,7 +11,7 @@
 
     my %previous_sources = $self->_read_cached_upstream_replicas;
     push @from, $self->arg('from')
-        if ($self->arg('from') && !$previous_sources{$self->arg('from')});
+        if ($self->arg('from') && ( !$self->has_arg('all') || !$previous_sources{$self->arg('from')}));
     push @from, keys %previous_sources if $self->has_arg('all');
 
     my @bonjour_replicas = $self->find_bonjour_replicas;



More information about the Bps-public-commit mailing list