[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. 568447aac8f3a74e3edced3fc6a32f7813b1980e

jesse jesse at bestpractical.com
Sat Jan 17 23:37:08 EST 2009


The branch, master has been updated
       via  568447aac8f3a74e3edced3fc6a32f7813b1980e (commit)
      from  cd637399ea4769629eca14ccd2a98cb0e0c89f75 (commit)

Summary of changes:
 lib/Prophet/CLI/Command/Pull.pm |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 568447aac8f3a74e3edced3fc6a32f7813b1980e
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Jan 17 23:33:35 2009 -0500

    pulling now uses the replica's url rather than trying to reconstruct it
    badly

diff --git a/lib/Prophet/CLI/Command/Pull.pm b/lib/Prophet/CLI/Command/Pull.pm
index 8de6f50..2c8fd51 100644
--- a/lib/Prophet/CLI/Command/Pull.pm
+++ b/lib/Prophet/CLI/Command/Pull.pm
@@ -26,9 +26,7 @@ sub run {
     }
 
     $self->validate_args;
-    $self->set_arg( to => $self->cli->app_handle->default_replica_type
-            . ":file://"
-            . $self->handle->fs_root );
+    $self->set_arg( to =>  $self->handle->url );
 
     for my $from (grep { defined } ( @from, $self->find_bonjour_sources )) {
         print "Pulling from $from\n";

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list