[Bps-public-commit] r12052 - in sd/trunk: .
jesse at bestpractical.com
jesse at bestpractical.com
Sun May 4 16:58:20 EDT 2008
Author: jesse
Date: Sun May 4 16:58:19 2008
New Revision: 12052
Modified:
sd/trunk/ (props changed)
sd/trunk/bin/sd
Log:
r30429 at 245: jesse | 2008-05-04 16:57:17 -0400
* switched sd to use the new prophet default replica type api
Modified: sd/trunk/bin/sd
==============================================================================
--- sd/trunk/bin/sd (original)
+++ sd/trunk/bin/sd Sun May 4 16:58:19 2008
@@ -10,8 +10,6 @@
$cli->run_one_command;
-
-
package App::SD::CLI::Command;
use base qw/Prophet::CLI::Command/;
@@ -102,7 +100,7 @@
my $self = shift;
local $ENV{PROPHET_RESOLVER} = 'Prompt';
bless $self, 'App::SD::CLI::Command::Merge';
- $self->args( {to => $self->args->{'to'}, from => $ENV{'PROPHET_REPLICA_TYPE'}.":file://".$self->app_handle->handle->fs_root });
+ $self->args( {to => $self->args->{'to'}, from => $self->app_handle->default_replica_type.":file://".$self->app_handle->handle->fs_root });
$self->run;
}
@@ -114,7 +112,7 @@
local $ENV{PROPHET_RESOLVER} = 'Prompt';
bless $self, 'App::SD::CLI::Command::Merge';
$self->args({ from => $self->args->{'from'},
- to => $ENV{'PROPHET_REPLICA_TYPE'}.":file://".$cli->app_handle->handle->fs_root });
+ to => $self->cli->app_handle->default_replica_type.":file://".$cli->app_handle->handle->fs_root });
$self->run;
}
More information about the Bps-public-commit
mailing list