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

copy with --parents creates bogus folder

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 08 Jan 2009 18:39:35 +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.

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=1012076

Received on 2009-01-08 18:40:03 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.