Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: "Copy to " Command bug In TortoiseSVN 1.5.6, Build 14908

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Hide all messages in topic

All messages in topic

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

Author steveking
Full name Stefan Küng
Date 2009-01-10 00:18:58 PST
Message rzarookian at drti dot com wrote:
> 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/Branc​hes/Bug%20Fixes/Bugx​xxx
>
> In pure hypertext these paths are
>
> https://server/Branc​hes/Bug%20Fixes/Bug%​20xxxx AND
> https://server/Branc​hes/Bug%2520Fixes/Bu​gxxxx
>
> 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.

Not quite: it's because we pass the --parents flag to the copy command,
which triggers this bug in the svn library.

I've already reported it on the svn mailing list:
http://subversion.ti​gris.org/ds/viewMess​age.do?dsForumId=462​&dsMessageId=101​2076
but unfortunately with no response yet :(

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

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

Author rzarookian at drti dot com
Full name rzarookian at drti dot com
Date 2009-01-09 14:02:38 PST
Message 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/Branc​hes/Bug%20Fixes/Bugx​xxx

In pure hypertext these paths are

https://server/Branc​hes/Bug%20Fixes/Bug%​20xxxx
AND
https://server/Branc​hes/Bug%2520Fixes/Bu​gxxxx

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/中​文/新建文本文档.txt
> 2. Copy to "http://XX/svn/test/中​文/备份/新建文本文档.txt"
> 3. Result: http://XX/svn/test/中​文/%E5%A4%87%E4%BB%BD​

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

Author WebmonkeyL33T <tgradel at cfjmfg dot com>
Full name WebmonkeyL33T <tgradel at cfjmfg dot com>
Date 2009-01-09 07:13:13 PST
Message After expirimenting I've found that I can right-click the folder that
I cant to copy and drag it to the new location say, the same top level
folder. I get a prompt to name the folder. Answer the prompt and the
copy is complete.
:-)

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

Author steveking
Full name Stefan Küng
Date 2009-01-08 09:55:57 PST
Message Marc wrote:
> I also have a problem with this TortoiseSVN version running Vista 32
> Business SP1 (fully up to date).
> When I use the Repository Browser to create a file from a template
> using the "Copy to" command, then a folder is created instead of the
> file. When I try to use the command on a folder, a folder is created
> though not the right one, that is, it does not contain the files which
> are part of the original folder.

This works fine for me.
Can you maybe give a little more details what you're trying to do?
* url of original item
* url of target item

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

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

Author steveking
Full name Stefan Küng
Date 2009-01-08 09:52:36 PST
Message Fernando Villar wrote:
> "Copy to..." worked for me in build 14361. After switching to 1.5.6
> Build 14908 I am getting the reported error if trying to copy to
> creating a new folder.

* What url did you enter in the "copy to..." dialog as the destination?
* what url does the file/folder have you want to copy?

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

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

Author steveking
Full name Stefan Küng
Date 2009-01-08 09:42:53 PST
Message greatqn wrote:
> The folder is exists.
> result screen:
> http://tortoisesvn.g​ooglegroups.com/web/​001.jpg?gda=w3LMIzkA​AADSrnK27llhprEtmjov​lZo7orZx8DUqs-ia-tjw​I6_YcZkcSQalZts6JOfS​zqzg226ECKgQbmraGdxl​ZulaYnsh&gsc=H0B​xyRYAAABF0zHQlddtEdk​zLpqzW41K-vghgYgES8z​AzJdW7J9-8w
>
> After copy to command,find two folder,one is right,one is
> '%E5%A4%87%E4%BB%BD'.

Yep, that's a bug in the svn library. Happens with the CL client too.
I've reported it on the svn dev list...

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

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

Author Marc <marc dot staudacher at gmx dot net>
Full name Marc <marc dot staudacher at gmx dot net>
Date 2009-01-08 06:10:01 PST
Message On the server, version 1.4.2 (r22196) is used. I guess that this is
the problem. Though, it's interesting that it was working before.

Cheers, Marc

On 8 Jan., 14:59, Marc <marc.staudac...@gmx.net> wrote:
> I also have a problem with this TortoiseSVN version running Vista 32
> Business SP1 (fully up to date).
> When I use the Repository Browser to create a file from a template
> using the "Copy to" command, then a folder is created instead of the
> file. When I try to use the command on a folder, a folder is created
> though not the right one, that is, it does not contain the files which
> are part of the original folder.
>
> I did not have this problem with TortoiseSVN 1.5.5.
>
> Help is welcome. I try to rollback to TortoiseSVN 1.5.5.
>
> Best, Marc
>
> On 6 Jan., 04:22, greatqn <grea...@gmail.com> wrote:
>
> > In TortoiseSVN 1.5.2, Build 13595 - 32 Bit have not this bug.
>
> > TortoiseSVN1.5.6, Build 14908 - 32 Bit is error in use "Copyto "
> > Command
>
> > demo:
>
> > 1.http://XX/svn/test/中​文/新建文本文档.txt
> > 2.Copyto "http://XX/svn/test/中​文/备份/新建文本文档.txt"
> > 3. Result:http://XX/svn/test/中​文/%E5%A4%87%E4%BB%BD​
>
> > --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> > To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].

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

Author Marc <marc dot staudacher at gmx dot net>
Full name Marc <marc dot staudacher at gmx dot net>
Date 2009-01-08 05:59:36 PST
Message I also have a problem with this TortoiseSVN version running Vista 32
Business SP1 (fully up to date).
When I use the Repository Browser to create a file from a template
using the "Copy to" command, then a folder is created instead of the
file. When I try to use the command on a folder, a folder is created
though not the right one, that is, it does not contain the files which
are part of the original folder.

I did not have this problem with TortoiseSVN 1.5.5.

Help is welcome. I try to rollback to TortoiseSVN 1.5.5.

Best, Marc

On 6 Jan., 04:22, greatqn <grea...@gmail.com> wrote:
> In TortoiseSVN 1.5.2, Build 13595 - 32 Bit have not this bug.
>
> TortoiseSVN1.5.6, Build 14908 - 32 Bit is error in use "Copyto "
> Command
>
> demo:
>
> 1.http://XX/svn/test/中​文/新建文本文档.txt
> 2.Copyto "http://XX/svn/test/中​文/备份/新建文本文档.txt"
> 3. Result:http://XX/svn/test/中​文/%E5%A4%87%E4%BB%BD​
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].

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

Author greatqn <greatqn at gmail dot com>
Full name greatqn <greatqn at gmail dot com>
Date 2009-01-07 18:08:30 PST
Message The folder is exists.
result screen:
http://tortoisesvn.g​ooglegroups.com/web/​001.jpg?gda=w3LMIzkA​AADSrnK27llhprEtmjov​lZo7orZx8DUqs-ia-tjw​I6_YcZkcSQalZts6JOfS​zqzg226ECKgQbmraGdxl​ZulaYnsh&gsc=H0B​xyRYAAABF0zHQlddtEdk​zLpqzW41K-vghgYgES8z​AzJdW7J9-8w

After copy to command,find two folder,one is right,one is
'%E5%A4%87%E4%BB%BD'.

> > TortoiseSVN 1.5.6, Build 14908 - 32 Bit is error in use "Copy to "
> > Command
>
> > demo:
>
> > 1.http://XX/svn/test/中​文/新建文本文档.txt
> > 2. Copy to "http://XX/svn/test/中​文/备份/新建文本文档.txt"
> > 3. Result:http://XX/svn/test/中​文/%E5%A4%87%E4%BB%BD​

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

Author WebmonkeyL33T <tgradel at cfjmfg dot com>
Full name WebmonkeyL33T <tgradel at cfjmfg dot com>
Date 2009-01-07 15:06:03 PST
Message I am having the same issue with "Copy to..." after switching to build
1.5.6. Couldn't happen at a worse time as I'm trying to fork the code
for a high priority project.

Any resolution to this issue.

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

Author villar
Full name Fernando Villar
Date 2009-01-07 05:01:48 PST
Message "Copy to..." worked for me in build 14361. After switching to 1.5.6 Build 14908 I am getting the reported error if trying to copy to creating a new folder.
Attachments

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

Author steveking
Full name Stefan Küng
Date 2009-01-06 09:38:16 PST
Message greatqn wrote:
> 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/中​文/新建文本文档.txt
> 2. Copy to "http://XX/svn/test/中​文/备份/新建文本文档.txt"
> 3. Result: http://XX/svn/test/中​文/%E5%A4%87%E4%BB%BD​

Using the repository browser, copy-to command, this works for me just
fine. Of course, only if the folder http://XX/svn/test/中文/备份 already
exists.

Stefan

--
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Attachments

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

Author greatqn <greatqn at gmail dot com>
Full name greatqn <greatqn at gmail dot com>
Date 2009-01-05 19:22:54 PST
Message 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/中​文/新建文本文档.txt
2. Copy to "http://XX/svn/test/中​文/备份/新建文本文档.txt"
3. Result: http://XX/svn/test/中​文/%E5%A4%87%E4%BB%BD​
Messages per page: