[PATCH 3 of 8] Add filesystem path to dirstate.statwalk return value

Adrian Buehlmann adrian at cadifra.com
Mon May 5 19:18:42 CDT 2008


On 06.05.2008 01:29, Matt Mackall wrote:
> On Tue, 2008-05-06 at 01:01 +0200, Adrian Buehlmann wrote:
>> On 06.05.2008 00:15, Matt Mackall wrote:
>>> Also, other operating systems have been known to mangle case. One
>>> example is Linux, which, before the existence of VFAT, showed filenames
>>> on FAT systems (all uppercase on disk) in lowercase. When VFAT was
>>> introduced, things got interesting:
>> Question left is: is that relevant here?
>>
>> Even more since we already agreed on doing (a) for Mercurial?
>>
>> I don't think we have to fiddle out the details for what wild things
>> can happen in a working dir sitting on a historic 8.3 fs when using
>> Mercurial, given that we would already be more than happy if Mercurial
>> would do something non-surprising with paths on more recent folding file
>> systems, like, for example, NTFS for Windows.
> 
> If you have a repo on a USB stick which you move between Windows and
> Linux with filenames like "Makefile" or "main.c", you will encounter
> this.

Um, we have to consider 8.3 shortname mappings?

It might make sense to draw a line somewhere and at least
assume something minimally sensible like the long file name capabilities
of a FAT32 as a minimum standard when considering _working dir_ folding
issues (isn't FAT16 limited to 2GB volumes anyway? and who still buys
< 2GB sticks these days?).

IMHO, the importance of the folding properties of working dirs on thumbdrives
is somewhat questionable anyway, since the interesting bits of repositories
on removable flash memory are normally inside the .hg directory for
relevant use cases.



More information about the Mercurial-devel mailing list