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

RE: "Copy to " Command bug In TortoiseSVN 1.5.6, Build 14908

From: <rzarookian_at_drti.com>
Date: Fri, 9 Jan 2009 14:02:38 -0800 (PST)

I am seeing an error which may be related. If I attempt to use the "Copy to" command with the target being a path with spaces you get the following behavior

Issuing "Copy to" on "https://server/repo/trunk" to
https://server/Branches/Bug Fixes/Bugxxxx you will get
branch

https://server/Branches/Bug Fixes/Bugxxxx
AND
https://server/Branches/Bug%20Fixes/Bugxxxx

In pure hypertext these paths are

https://server/Branches/Bug%20Fixes/Bug%20xxxx
AND
https://server/Branches/Bug%2520Fixes/Bugxxxx

The astute observer will see that Tortoise translated the %20 that means a space in URLs to literally "%20" by substituting the % symbol with %25 (a '%' in hypertext) so the result is the paths as described above.

I've only seen this happen on TortoiseSVN 1.5.6 14908 32 bit and am not seeing it on TortoiseSVN 1.5.5 14361. This does not occur if you branch using the right click drag copy and rename. I believe this behavior is linked to a a string given to a mkcol command issued by Tortoise on the "Copy to" command.

> In TortoiseSVN 1.5.2, Build 13595 - 32 Bit have not this bug.
>
> TortoiseSVN 1.5.6, Build 14908 - 32 Bit is error in use "Copy to "
> Command
>
> demo:
>
> 1. http://XX/svn/test/%e4%b8%ad%e6%96%87/%e6%96%b0%e5%bb%ba%e6%96%87%e6%9c%ac%e6%96%87%e6%a1%a3.txt
> 2. Copy to "http://XX/svn/test/%e4%b8%ad%e6%96%87/%e5%a4%87%e4%bb%bd/%e6%96%b0%e5%bb%ba%e6%96%87%e6%9c%ac%e6%96%87%e6%a1%a3.txt"
> 3. Result: http://XX/svn/test/%e4%b8%ad%e6%96%87/%E5%A4%87%E4%BB%BD

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1014400

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-09 23:04:21 CET

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

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