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

Invalid folder still shows after rename

From: waqas Arshed <waqasarshed_at_gmail.com>
Date: Thu, 3 Apr 2008 11:29:54 +0500

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.
Mathew,
I understand that blank space in folder name is a problem related to
Windows but I was referring to something else here. The issue I am
trying to bring forth is display of folder when it has been re-named.
Why does TortoiseSVN show the folder when it has already been
re-named? It shows the folder with new name and still shows the folder
with old name. Is this expected behavior?
Regards,
Waqas Arshed
---------------------------------------------------------------------
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-03 08:47:21 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.