[svk-commit] r2963 - trunk/lib/SVK
nobody at bestpractical.com
nobody at bestpractical.com
Fri Jul 4 07:54:41 EDT 2008
Author: ruz
Date: Fri Jul 4 07:54:40 2008
New Revision: 2963
Modified:
trunk/lib/SVK/XD.pm
Log:
* call cb_conlict from XD's delta editor with additional
argument - whatever is stored in $cinfo->{.conflict}
Modified: trunk/lib/SVK/XD.pm
==============================================================================
--- trunk/lib/SVK/XD.pm (original)
+++ trunk/lib/SVK/XD.pm Fri Jul 4 07:54:40 2008
@@ -1291,7 +1291,7 @@
if ($arg{cb_conflict} && $cinfo->{'.conflict'}) {
++$modified;
- $arg{cb_conflict}->($arg{editor}, $arg{entry}, $arg{baton});
+ $arg{cb_conflict}->($arg{editor}, $arg{entry}, $arg{baton}, $cinfo->{'.conflict'});
}
return 1 if $self->_node_deleted_or_absent (%arg, pool => $pool);
@@ -1389,7 +1389,7 @@
# don't use depth when we are still traversing through targets
my $descend = defined $targets || !(defined $arg{depth} && $arg{depth} == 0);
# XXX: the top level entry is undefined, which should be fixed.
- $arg{cb_conflict}->($arg{editor}, defined $arg{entry} ? $arg{entry} : '', $arg{baton})
+ $arg{cb_conflict}->($arg{editor}, defined $arg{entry} ? $arg{entry} : '', $arg{baton}, $cinfo->{'.conflict'})
if $thisdir && $arg{cb_conflict} && $cinfo->{'.conflict'};
return 1 if $self->_node_deleted_or_absent (%arg, pool => $pool);
@@ -1537,7 +1537,7 @@
}
}
if ($ccinfo->{'.conflict'}) {
- $arg{cb_conflict}->($arg{editor}, $newpaths{entry}, $arg{baton})
+ $arg{cb_conflict}->($arg{editor}, $newpaths{entry}, $arg{baton}, $cinfo->{'.conflict'})
if $arg{cb_conflict};
}
unless ($add || $ccinfo->{'.conflict'}) {
More information about the svk-commit
mailing list