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

Re: How can i export a file named "a[.txt" by SVN.EXE

From: Ryan Schmidt <subversion-2010d_at_ryandesign.com>
Date: Wed, 1 Dec 2010 07:16:56 -0600

On Dec 1, 2010, at 06:51, embedmobile y wrote:

> How can i export a file named a[.txt by SVN.EXE.
> When i try to use svn.exe to export a file whose name consists '[', it will fail and error info as "svn: URL 'svn://127.0.0.1/test/a[.txt' is not properly URI-encoded".
> If i use TSVN, it can export successfully. But i can only use CLI. So how could i export such kind of file by svn.exe?
> My enviornment is winxp and SVN version 1.5.4 or 1.6.11.
> Thanks for your kindly help.

Properly (percent-)encode the special characters in the URL, i.e.:

svn://127.0.0.1/test/a%5B.txt
Received on 2010-12-01 14:17:38 CET

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.