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

Re: Removing Folder with non-Alphanumeric character

From: <Evan.Watson_at_MSAnet.com>
Date: 2007-05-18 23:33:00 CEST

When I run the URL command I get

svn: Path 'http://svn/repo/project%5C' does not exist in revision 144

If I was not clear this a folder in the repo not the root repo name.

Ryan Schmidt <subversion-2007b@ryandesign.com>
05/18/2007 17:07

Erik Hemdal <erik@comprehensivepower.com>
<Evan.Watson@MSAnet.com>, <users@subversion.tigris.org>
Re: Removing Folder with non-Alphanumeric character

On May 18, 2007, at 09:12, Erik Hemdal wrote:

>> I created a folder via the command line svn tool. By mistake (fat
>> fingers) a '\' was added to the name. I am not able to delete or
>> rename the folder in the repo. How do I correct this issue?
>> example http://myrepo/svn/projectname\
> Try escaping the backslash with another backslash.
> http://myrepo/svn/projectname\\
> If you're on Linux or UNIX, the backslash is a special character
> used to turn off any special meaning of the next character. So try
> using another backslash to turn off the special meaning of the
> original backslash.

If you're doing this in a working copy, then yes, another backslash
would escape it in the shell:

svn co http://myrepo/svn
svn mv projectname\\ projectname
svn ci -m "Rename projectname\ to projectname"

However, if you're using URLs, you use percent-encoding to escape
unusual characters:

svn mv http://myrepo/svn/projectname%5C http://myrepo/svn/projectname
-m "Rename projectname\ to projectname"
Received on Fri May 18 23:31:28 2007

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.