[Bps-public-commit] r17385 - Prophet/trunk/lib/Prophet/CLI

jesse at bestpractical.com jesse at bestpractical.com
Sat Dec 27 16:24:32 EST 2008


Author: jesse
Date: Sat Dec 27 16:24:31 2008
New Revision: 17385

Modified:
   Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm

Log:
* remove the broken duplicate copy of the history command in the dispatcher

Modified: Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm	Sat Dec 27 16:24:31 2008
@@ -71,14 +71,7 @@
     run('merge', $self, @_);
 };
 
-on history => sub {
-    my $self = shift;
-
-    $self->context->require_uuid;
-    my $record = $self->context->_load_record;
-    $self->record($record);
-    print $record->history_as_string;
-};
+on history => run_command('History');
 
 sub run_command {
     my $name = shift;



More information about the Bps-public-commit mailing list