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

jesse at bestpractical.com jesse at bestpractical.com
Wed Aug 27 21:18:21 EDT 2008


Author: jesse
Date: Wed Aug 27 21:18:19 2008
New Revision: 15571

Modified:
   Prophet/branches/Prophet-trunk/   (props changed)
   Prophet/branches/Prophet-trunk/lib/Prophet/CLI/Command/Merge.pm

Log:
 r44634 at 192:  jesse | 2008-08-27 16:23:44 -0700
 * silence some warnings in history walking


Modified: Prophet/branches/Prophet-trunk/lib/Prophet/CLI/Command/Merge.pm
==============================================================================
--- Prophet/branches/Prophet-trunk/lib/Prophet/CLI/Command/Merge.pm	(original)
+++ Prophet/branches/Prophet-trunk/lib/Prophet/CLI/Command/Merge.pm	Wed Aug 27 21:18:19 2008
@@ -84,8 +84,8 @@
 
     my $changesets = 0;
 
-    my $source_latest = $source->latest_sequence_no();
-    my $source_last_seen = $target->last_changeset_from_source($source->uuid);
+    my $source_latest = $source->latest_sequence_no() || 0;
+    my $source_last_seen = $target->last_changeset_from_source($source->uuid) || 0;
 
     if( $self->has_arg('verbose') ) {
         print "Integrating changes from ".$source_last_seen . " to ". $source_latest."\n";



More information about the Bps-public-commit mailing list