[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.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
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.

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