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

Re: BUG: Different Capitalised versions of the same filename are not copied accross correctly

From: Robert Roessler <robertr_at_rftp.com>
Date: 2007-11-25 22:01:06 CET

Stefan Küng wrote:
> Peter Robinson wrote:
>> i have two files (amongst others) in my repository which have
>> different filenames by captilisation only (mirror-tealight.jpg &
>> Mirror-Tealight.jpg). In a linux command line checkout, every thing is
>> fine. On my local windows machine using:
>>
>> there is problem. Specfically when trying to copy files from
>> .svn/prop-base it has only checked out (mirror-tealight.jpg) to this
>> directory but still expects to find them both to copy to my main
>> "view" or base folder...
>>
>> (as an aside, the rest of the checkout works fine and now that i have
>> "svn delete"d one of the versions all is fine)
>
> Please report this bug to http://www.microsoft.com
> (if you think about why this happens, you'll know why)

There actually *is* some ability to handle this in Windows... when
opening existing or creating new files using CreateFile, one can supply
the flag FILE_FLAG_POSIX_SEMANTICS.

This *does* allow open/creation of files differing only in case "for
file systems that support that naming" - which NTFS certainly does. I
use this in my FTP client for specifically this case - downloading (or
uploading) trees from (or to), say, *nix systems which allow one to
[trivially] create such situations.

OTOH, once you *have* a directory on Windows with filenames differing
only in case, life can get a bit complicated when it comes to doing
anything with those files, as the standard tools will NOT "do the right
thing" WRT these files. ;)

But if all you are doing is maintaining a given file tree with a
particular set of tools that understand FILE_FLAG_POSIX_SEMANTICS, it
*is* possible to support this usage model.

Robert Roessler
robertr@rftp.com
http://www.rftp.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sun Nov 25 22:02:00 2007

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.