[ statsvn-Bugs-1706425 ] Failed gen. for repositories w/ non-standard chars in paths

1 message Options
Embed this post
Permalink
SourceForge.net

[ statsvn-Bugs-1706425 ] Failed gen. for repositories w/ non-standard chars in paths

Reply Threaded More More options
Print post
Permalink
Bugs item #1706425, was opened at 2007-04-24 05:52
Message generated for change (Comment added) made by joearmbruster
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=833326&aid=1706425&group_id=164845

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mrivaud (kran_sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Failed gen. for repositories w/ non-standard chars in paths

Initial Comment:
StatSVN does not seem to like SVN repositories that contain or have contained some special characters (like french accentuated letters : , etc.)

Because of repository history, renaming the concerned folders/files does not help.

It may (or may not, since I did not check the Java code) be caused by a lack of URI escaping while trying to retrieve additionnal information from SVN (command line).

I actually had to escape those letters in order to get the svn log command to function.

Is there any mean to confirm this behavior, and/or or a way to repair the "corrupted" paths without losing all the commit history ?



Info :

- SVN is installed on a Windows XP computer, and svnserve is running as a service
- The working copy used for the reports is on the same computer, and has been checked out using the svn:// protocol (checkout has been performed by TortoiseSVN)
- SVN, TortoiseSVN, and StatSVN have been recently updated
- StatSVN has successfully generated reports for other repositories (on the same computer) that did not contain any special char (apart form spaces).
- StatSVN failed to generate reports for folders that had previously been parsed with success, after branching and renaming those folder in order to add some tricky chars (for testing purposes). The original folder still generates with no error (but the whole repository does not)


Attached files (in the ZIP archive) :

- logfile.xml : a sample logfile (a DELPHI 7 project with special chars in some paths)
- statslog.log : StatSVN output for this project
- statserr.log : StatSVN error output


----------------------------------------------------------------------

Comment By: Joseph Armbruster (joearmbruster)
Date: 2008-07-29 10:27

Message:
Logged In: YES
user_id=1643128
Originator: NO

I noticed similar behavior when a repository path contained a + symbol in
the path. On the command line, the generating report for output showed:
svn://server/path/to/somewhere/1.6.0.4 /blah
as opposed to:
svn://server/path/to/somewhere/1.6.0.4+/blah

----------------------------------------------------------------------

Comment By: Jason Kealey (jkealey)
Date: 2007-05-03 11:58

Message:
Logged In: YES
user_id=1498924
Originator: NO

Reopening. Sorry we forgot to comment. Will look into encoding the
repository root properly.

----------------------------------------------------------------------

Comment By: mrivaud (kran_sf)
Date: 2007-05-03 11:31

Message:
Logged In: YES
user_id=1773723
Originator: YES

Managed to make it work with svn checkout + heavily encoded URI (svn://).
Seems like ToirtoiseSVN (nor the svn command ?) DOES NOT encode the
repository URI in the working copy properties (.svn) when performing a
checkout. StatsSVN then produces exceptions when attempting to retrive
diffs (since the provided URI still contains unencoded chars).

Would it be a good idea to check the repository URI within StatSVN ? (I
will not post a feature request since this is not a key improvement.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=833326&aid=1706425&group_id=164845

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers