feature or bug?

Mark A. Flacy mflacy at verizon.net
Thu Jan 3 09:58:41 CST 2008


On 2008.01.02 23:57, Guo Tang wrote:
> 
> If I use "hg abort: case-folding collision" to google the answer, looks
> like there are lots of other peoples also have this problem even with
> usestore=True (default).
> 
> Any workaround? Are there any case-sensitive file system for MS  
> Windows?

mvfs is one, but you need ClearCase dynamic views for that.

There's a free ext2 file system driver out there.  I haven't used it in  
a while.  It wasn't much slower than NTFS when I did.  (Long story) I  
certainly didn't use it for anything important.

http://www.ext2fsd.com/


IMO, the attempts by hg to mask NTFS file naming problems was a lot of  
misguided effort that  simply pushed the problem (file collisions due to  
case) somewhere else (file name too long).  I can see why they tried  
(host a repo on a Windows box), but lipstick on a pig still leaves you  
with a pig.

They could try some magic with hashing the file names and using the hex  
string of the hash instead of the file name, but that's not going to be  
fast and the reverse mapping would require a dictionary somewhere.

-- 
Mark A. Flacy



More information about the Mercurial mailing list