FreeBSD Bugzilla – Attachment 95482 Details for
Bug 133877
Diff view of devel/p5-SVN-Web does not work with subversion 1.5.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.22 KB, created by
Will Bond
on 2009-04-20 17:10:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Will Bond
Created:
2009-04-20 17:10:05 UTC
Size:
1.22 KB
patch
obsolete
>diff -Nuarb SVN-Web-0.53/lib/SVN/Web/Diff.pm SVN-Web-0.53/lib/SVN/Web/Diff.pm.new >--- SVN-Web-0.53/lib/SVN/Web/Diff.pm 2007-04-29 15:22:51.000000000 -0400 >+++ SVN-Web-0.53/lib/SVN/Web/Diff.pm.new 2009-04-20 11:38:45.000000000 -0400 >@@ -188,8 +188,11 @@ > > my $mime = $self->{cgi}->param('mime') || 'text/html'; > >- my %types = ( $rev1 => $ra->check_path($path, $rev1), >- $rev2 => $ra->check_path($path, $rev2) ); >+ my $path_getlog = $path; >+ if ($path_getlog eq "/") {$path_getlog = "";} >+ $path_getlog =~ s/^\///; >+ my %types = ( $rev1 => $ra->check_path($path_getlog, $rev1), >+ $rev2 => $ra->check_path($path_getlog, $rev2) ); > > SVN::Web::X->throw(error => '(cannot diff nodes of different types: %1 %2 %3)', > vars => [$path, $rev1, $rev2]) >@@ -299,7 +302,10 @@ > > my $ra = $self->{repos}{ra}; > >- if($ra->check_path($path, $rev) == $SVN::Node::none) { >+ my $path_getlog = $path; >+ if ($path_getlog eq "/") {$path_getlog = "";} >+ $path_getlog =~ s/^\///; >+ if($ra->check_path($path_getlog, $rev) == $SVN::Node::none) { > SVN::Web::X->throw( > error => '(path %1 does not exist in revision %2)', > vars => [$path, $rev],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133877
: 95482