[svk-commit] r2825 - branches/path-resolver/lib/SVK/Editor

nobody at bestpractical.com nobody at bestpractical.com
Wed May 7 21:32:45 EDT 2008


Author: ruz
Date: Wed May  7 21:32:45 2008
New Revision: 2825

Modified:
   branches/path-resolver/lib/SVK/Editor/Merge.pm

Log:
* minor

Modified: branches/path-resolver/lib/SVK/Editor/Merge.pm
==============================================================================
--- branches/path-resolver/lib/SVK/Editor/Merge.pm	(original)
+++ branches/path-resolver/lib/SVK/Editor/Merge.pm	Wed May  7 21:32:45 2008
@@ -254,6 +254,8 @@
 
 sub add_file {
     my ($self, $path, $pdir, @arg) = @_;
+    my $pool = pop @arg;
+
     unless ( defined $pdir ) {
         $self->node_conflict($path);
         return;
@@ -268,14 +270,13 @@
             return undef;
         }
         elsif ( $action eq 'a' ) {
-            $self->add_directory_back( $arg[-1] );
+            $self->add_directory_back( $pool );
         }
         else {
             die "uknown action";
         }
     }
 
-    my $pool = pop @arg;
     # a replaced node shouldn't be checked with cb_exist
     my $spool = SVN::Pool->new_default($pool);
     my $touched = $self->{notify}->node_status($path);


More information about the svk-commit mailing list