feature or bug?

Mark A. Flacy mflacy at verizon.net
Wed Jan 2 22:37:08 CST 2008


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



More information about the Mercurial mailing list