[svk-commit] r2709 - trunk/lib/SVK/Command

nobody at bestpractical.com nobody at bestpractical.com
Fri Mar 21 10:04:59 EDT 2008


Author: clkao
Date: Fri Mar 21 10:04:30 2008
New Revision: 2709

Modified:
   trunk/lib/SVK/Command/Move.pm

Log:
Fix svk mv when we use tee editor to commit to remote.

We are already doing the MapRev as part of the remote_editor,
so we don't need to give delete_entry explicit rev anymore.


Modified: trunk/lib/SVK/Command/Move.pm
==============================================================================
--- trunk/lib/SVK/Command/Move.pm	(original)
+++ trunk/lib/SVK/Command/Move.pm	Fri Mar 21 10:04:30 2008
@@ -80,9 +80,8 @@
     }
     $self->SUPER::handle_direct_item (@_, $call);
 
-    $editor->delete_entry (abs2rel ($src->path, $anchor => undef, '/'),
-			   $m ? scalar $m->find_remote_rev ($src->revision)
-			      : $src->revision, 0);
+    $editor->delete_entry(abs2rel ($src->path, $anchor => undef, '/'),
+                          $src->revision, 0);
     $self->adjust_anchor ($editor);
 }
 


More information about the svk-commit mailing list