Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0
-
Labels:None
-
Environment:OSX 10.4.3, java 1.4.2_09
-
Number of attachments :
Description
When you do a subversion copy command, the list of files produced by svn log often have additional information that is part of the filename:
R /tags/prt-1.3/prt-admin/pom.xml (from /trunk/prt-admin/pom.xml:128)
In SvnChangeLogParser.java, the file name is parsed as /tags/prt-1.3/prt-admin/pom.xml (from /trunk/prt-admin/pom.xml:128) when of course it should be /tags/prt-1.3/prt-admin/pom.xml. This is most significantly manifested when a link is generated, such as in the File Activity Report.
http://...?repname=prt&sc=0&path=/tags/prt-1.3/pom.xml%20(from%20/trunk/pom.xml:128)
I can see two approaches to the problem. The simplest is to add a regular expression which deletes the extraneous data, but then you lose that potentially valuable information. Maybe ChangeLogFile should keep track of a file (path) and a name, rather than just a name, so that the link can be made properly.
This patch removes extraneous information from svn file list entries.