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

Re: copy with --parents creates bogus folder

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 20 Feb 2009 23:01:58 +0100

Daniel Shahaf wrote:
> Was this looked into? Fixed? Filed to the tracker?
>
> Stefan Küng wrote on Thu, 8 Jan 2009 at 18:39 +0100:
>> Hi,
>>
>> To reproduce, first create empty repository, served via apache. Then:
>>
>> svn mkdir http://server/trunk/F%c3%b6lder -m "create folder with non-ascii
>> char in name"
>>
>> svn co http://server/trunk wc
>> echo dummy > wc\föle.txt
>> svn add wc\föle.txt
>> svn ci wc -m "add file with non-ascii char in name"
>> svn cp http://server/trunk/f%c3%b6le.txt http://server/trunk/F%c3%b6lder/f%c3%b6le.txt
>> --parents -m "copy file"
>> svn list http://server/trunk
>> Földer
>> F%C3%B6lder
>> föle.txt
>>
>>
>> What I would expect is that the file "föle.txt" is copied to the
>> existing folder "Földer", but what actually happens is that a new folder
>> is created with name "F%C3%B6lder".
>>
>>
>> This happens both with 1.5.x and a trunk build.
>>
>> Note: I don't think the cause is the url escaping in the command line
>> client, since the same happens in TSVN where I just checked that the
>> urls are passed to svn_client_copy properly escaped.

Just tested again with an 1.6.x build. Still the same.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1200765

Received on 2009-02-20 23:02:26 CET

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

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