[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Special Character Inconsistencies

From: Daniel Becroft <Daniel.Becroft_at_supercorp.com.au>
Date: Wed, 1 Oct 2008 13:02:02 +1000

Hi all,
I have come across what appear to be inconsistencies with the handling
of special characters (ie '?') in filenames for URL-based renames &
> svn list svn://localhost/rename_test
> svn rename svn://localhost/rename_test/alpha.txt
    svn: URL 'svn://localhost/rename_test/alpha?.txt' is not properly
This is an expected error. So, use the percentage notation:
> svn rename svn://localhost/rename_test/alpha.txt
Committed revision X.
> svn list svn://localhost/rename_test
It appears the rename has worked. But, we cannot rename the file back:
>svn rename svn://localhost/rename_Test/alpha%3F.txt
svn://localhost/rename_Test/alpha.txt --message ""
    svn: Can't open file 'D://svnrepos/rename_Test/alpha?.txt/format':
The filename,
     directory name, or volume label syntax is incorrect.
I get the same errors if I attempt to move the file to a different
> svn delete svn://localhost/rename_Test/alpha%3F.txt --message ""
    Committed revision 6.
Now, I'm not sure where the problem lies. Should these names even be
allowed? If so, then the rename obviously needs to be fixed.
Daniel B.
Received on 2008-10-01 05:01:48 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.