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

Re: ntfs naming conventions

From: Andras Igneczi <andras.igneczi_at_gmail.com>
Date: Wed, 16 Sep 2009 09:23:33 +0200
I just did some test with exreme directory names. I have made a directory in working copy, and I tried to add it to subversion:

c:\temp\teszt repos wc\s_copy2>c:\svn-bin\release\bin\svn.exe add "  ff  "
svn: warning: '  ff' not found

c:\temp\teszt repos wc\s_copy2>


I have made an another in the repository, and I tried to update it's parent folder in the working copy:

c:\temp\teszt repos wc\s_copy2>c:\svn-bin\release\bin\svn.exe update
svn: Can't create directory ' directory which begins and ends with space \.svn': A rendszer nem tal.lja a megadott elérési utat.

c:\temp\teszt repos wc\s_copy2>

The hungarian part of the message means: "The system cannot found the given path" (maybe: "path not found" in english operating system). The subversion made a directory called
' directory which begins and ends with space'.
The space is missing from the end of directory name.

I did a screenshot with extreme folder names:



Ryan Schmidt írta:

On Sep 15, 2009, at 22:34, Andras Igneczi wrote:

It is not so important, I think, but the subversion can't create or use
folders ending with space, like that: " aaaa  ". I think, the ntfs
doesn't prohibit the space at the begin and the end of the names.
(http://support.microsoft.com/kb/100108/en)

Operating system: windows xp full servicepacked
subversion version: 1.6.5
compiler: microsoft vs 2005
filesystem: ntfs

I don't know. Wikipedia says filenames may not end with a space or a period on Windows (making no distinction based on filesystem):

http://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words

I presume you have files with such names in your repository and are experiencing problems checking it out on Windows? What error message do you see?



winxp.jpg
Received on 2009-09-16 09:30:35 CEST

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

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