Skip Menu |

This queue is for tickets about the SVN-Web CPAN distribution.

Report information
The Basics
Id: 11701
Status: resolved
Priority: 0/
Queue: SVN-Web

People
Owner: Nobody in particular
Requestors: kelly [...] drotner.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.38
Fixed in: (no value)



Subject: Viewing a diff of a file in a brand new branch dies.
perl v5.8.4 built for i386-linux-thread-multi SVN-Web-0.38 (installed via CPAN) svn, version 1.1.3 (r12730) debian (sarge) Scenario: I have a the following repository set up: /foobar/trunk/INSTALL /foobar/branches/kelly.mccauley I create a new branch of trunk: svn copy \ http://.../foobar/trunk \ http://../foobar/branches/kelly.mccauley/dev Then I access: http://../svnweb/foobar/diff/branches/kelly.mccauley/dev/INSTALL?rev1=3&rev2=5 I get the following error: operation failed: path does not exist at /usr/local/share/perl/5.8.4/SVN/Web/Diff.pm line 29. Doing an 'svn diff' on INSTALL produces no output (as expected). Should svnweb do something similar? Or maybe not show the '(diff with previous)' link for copies. FYI: We intend to use SVN-Web at Vanderbilt University's Advanced Computing Center for Research and Education. Access control is flexible since SVN-Web is using path_info. Thanks from ACCRE... Thanks, Kelly McCauley -- kelly somewhereat drotner.com
Kelly, Show quoted text
> I have a the following repository set up: > /foobar/trunk/INSTALL > /foobar/branches/kelly.mccauley > > I create a new branch of trunk: > svn copy \ > http://.../foobar/trunk \ > http://../foobar/branches/kelly.mccauley/dev > > Then I access: >
http://../svnweb/foobar/diff/branches/kelly.mccauley/dev/INSTALL?rev1=3&rev2=5 Show quoted text
> > I get the following error: > > operation failed: path does not exist at > /usr/local/share/perl/5.8.4/SVN/Web/Diff.pm line 29.
Does SVN::Web 0.41 fix this for you? I think I caught all the cases where the UI might show you a link to a non-existent file, and updated them so that the link isn't generated. That should catch all the cases from the UI. Please let me know if you still see any issues. Thanks, Nik
Closing. No response from original requestor, the recipe provided to reproduce the bug doesn't work with SVN::Web > 0.41, and the tests should catch any instance of this recurring.