[svk-commit] r2291 - trunk/lib/SVK/Editor
nobody at bestpractical.com
nobody at bestpractical.com
Sat Jan 13 01:43:53 EST 2007
Author: mndrix
Date: Sat Jan 13 01:43:51 2007
New Revision: 2291
Modified:
trunk/lib/SVK/Editor/Diff.pm
Log:
Fix a regression introduced in r1541 which caused binary files to sometimes be
displayed as text during an "svk diff". Unfortunately, I wasn't able to
create a failing .t
Modified: trunk/lib/SVK/Editor/Diff.pm
==============================================================================
--- trunk/lib/SVK/Editor/Diff.pm (original)
+++ trunk/lib/SVK/Editor/Diff.pm Sat Jan 13 01:43:51 2007
@@ -164,8 +164,8 @@
$basepath = $self->{base_target}->path_anchor."/$path"
if $basepath !~ m{^/};
- return $root->check_path($path, $pool) == $SVN::Node::none ?
- undef : $root->node_prop($path, $prop, $pool);
+ return $root->check_path($basepath, $pool) == $SVN::Node::none ?
+ undef : $root->node_prop($basepath, $prop, $pool);
}
sub apply_textdelta {
More information about the svk-commit
mailing list