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

[Windows] Problem with folder name having blank space at the end

From: Waqas Arshed <warshed_at_systemsltd.com>
Date: Wed, 2 Apr 2008 16:29:17 +0500

Hi All,
 
I have set up Subversion 1.4.5 (r25188) and I just found out that if you
rename a folder in subversion with a blank space at the end of the name
e.g. "foldername" -> "foldername ", you can no longer export the
contents of that folder or checkout its parent folder on Windows.
Suppose you have following structure:
 
ParentFolder
    -ChildFolder
        -File.txt
 
Rename "ChildFolder" to "ChildFolder ", then try to check out or export
ParentFolder. Checkout will fail because subversion would not be able to
create "ChildFolder " on Windows machine. Export will fail because,
Windows will automatically remove the last space and create the folder
with name "ChildFolder" instead of "ChildFolder " while exporting the
contents, resulting again, in the failure of operation.
 
I suppose this problem is specific to Windows OS only?
 
Regards,
Waqas Arshed
Received on 2008-04-02 18:30:09 CEST

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