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