feature or bug?
Patrick Mézard
pmezard at gmail.com
Thu Jan 3 10:19:15 CST 2008
Mark A. Flacy a écrit :
> 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.
HFS+ is case-preserving too by default.
If you want interoperability, you have to handle these issues, otherwise you will break repositories randomly.
> 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.
For reference, what you are talking about is proposed here:
http://www.selenic.com/mercurial/bts/issue839
--
Patrick Mézard
More information about the Mercurial
mailing list