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

Re: Invalid folder still shows after rename

From: Matthew Richardson <M.Richardson_at_ed.ac.uk>
Date: Wed, 02 Apr 2008 14:19:42 +0100

waqas Arshed wrote:
> Hi,
>
> Suppose you have following folder structure:
>
> ParentFolder
> -ChildFolder
> -File.txt
>
> Using TortoiseSVN, rename "ChildFolder" to "ChildFolder " (note the blank
> space at the end of folder name).
>
> Select ParentFolder and press CTRL+F5. TortoiseSVN will show both
> "ChildFolder" and "ChildFolder ". You can only perform operations on one of
> them and other one will be invalid but still showing.
>

This is a general problem with Windows, and probably not specific to TortoiseSVN -
trailing spaces and periods are not allowed in file names - however such files are
supported by the NTFS filesystem. This means that both files can exist, but you hit all
sorts of problems reading and writing them, depending on how you access them.

See:

http://msdn2.microsoft.com/en-us/library/aa365247.aspx

for more information on naming files in Windows.

Matthew

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-02 15:20:20 CEST

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

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