[Bps-public-commit] r11792 - in Prophet/trunk: .

jesse at bestpractical.com jesse at bestpractical.com
Sat Apr 19 20:38:22 EDT 2008


Author: jesse
Date: Sat Apr 19 20:38:21 2008
New Revision: 11792

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/ForeignReplica.pm

Log:
 r29924 at 31b:  jesse | 2008-04-20 02:33:59 +0200
  Make foriegn replica types respect the PROPHET_REPLICA_TYPE env variable


Modified: Prophet/trunk/lib/Prophet/ForeignReplica.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/ForeignReplica.pm	(original)
+++ Prophet/trunk/lib/Prophet/ForeignReplica.pm	Sat Apr 19 20:38:21 2008
@@ -17,7 +17,7 @@
     my $self = shift;
     my $cli = Prophet::CLI->new();
 
-    $self->state_handle( Prophet::Replica->new({ url => "svn:".$cli->app_handle->handle->url, db_uuid => $self->state_db_uuid }) );
+    $self->state_handle( Prophet::Replica->new({ url => $ENV{'PROPHET_REPLICA_TYPE'} .":".$cli->app_handle->handle->url, db_uuid => $self->state_db_uuid }) );
 }
 
 sub conflicts_from_changeset              { return; }



More information about the Bps-public-commit mailing list