feature or bug?

Guo Tang tangguo77 at gmail.com
Wed Jan 2 23:57:21 CST 2008


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?

Thanks,


On Wed, 2 Jan 2008, Mark A. Flacy wrote:

> On 2008.01.02 21:55, Guo Tang wrote:
> > Hi,
> > 
> > I am trying to convert a clearcase branch to hg.  The first
> > problem I had is the default hg storage method change upper case file
> > name to underscore lower case.
> 
> Well, a case-preserving but case-insensitive file system is not only a  
> boneheaded idea, but it also requires odd workarounds all over the place.
> 
> You cannot imagine how much I hate NTFS for preserving that FAT  
> "feature".  I cannot fathom why a case-preserving files system is still  
> in use in the 21st century.
> 
> > I have some file names really long, then
> > after conversion, the file name length is over what allowed by OS.
> 
> You have 128 character file names?  Zounds.
> 
> > After
> > digging a little bit, I finally found out the option
> > 
> > [format]
> > usestore=False
> > 
> > It seems solved my problem.  The clearcase to hg conversion went  
> > smoothly.
> > But after conversion, "hg verify" found the repository is corrupted. I
> > finally found out it is due to one file name in clearcase has changed
> > case.
> 
> Well, yes.  To mvfs and hg, those are two different files.  NTFS,  
> however, can't tell them apart. 
> 
> -- 
> Mark A. Flacy
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
> 


More information about the Mercurial mailing list