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

Re: On VirtualPC Rename erases File

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 07 Mar 2010 10:51:40 +0100

On 06.03.2010 22:44, Kevin Grover wrote:
> In Windows (NTFS and FAT), filenames are case _insensitive_, so
> CLSObjPrjKeys.h and cLSObjPrjKeys.h represent the same file. I know
> that svn had problems with renames like this (just case change) under
> Windows (and Mac, and any file system which is case insensitive).
>
> I haven't played with this in hg, so I'm not sure if there are any
> issues. If you can rename in two steps:
> 1) CLSObjPrjKeys.h --> temp
> 2) temp -> cLSObjPrjKeys.h
>
> Then there's probably an issue with the underlying file system. These
> types are problems are no really a fault of hg (or any other vcs), but
> more just an known limitation of the environment.

Actually, MoveFileEx() allows to rename files with case only. For
example, renaming TEXT.TXT to text.txt is no problem with MoveFileEx
without renaming it first to a temp file.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2456107
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-07 10:52:00 CET

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