[PATCH 0 of 9 RFC] manage filename normalization policy per repository

Matt Mackall mpm at selenic.com
Tue May 29 15:07:58 CDT 2012


On Sun, 2012-05-27 at 23:36 +0900, FUJIWARA Katsunori wrote:
> Then, what about the another extension plan below ?
> 
>   - configures filename normalization policy per root by ".hgeol" like
>     file

Not excited about it.

>   - warn(or abort) for adding files of which names are normalized in
>     unexpected style

Perhaps. There's not a whole lot a Mac user can do on their end though.

>     in addition to it, warn(or abort) for adding files colliding with
>     each other in any normalizations, like case-folding handling

Can't happen on Mac. Can happen on Windows and Linux, I suppose. 

But is it really worth the trouble to fix it? The number of bugs filed
related to canonicalization is zero. 

How much of the issue is broken display vs typability? I see here that
Windows mangles the display of combining characters:

http://svn.haxx.se/dev/archive-2012-01/att-0476/NFD_looks_weird_on_Command_Prompt.png

..which actually has the upside that the filenames are at least
partially typable / tab-completable. Maybe MS has fixed this display
issue though.

>   - provides hooks to check normalization style of filenames in
>     incoming changes for pretxt*

Sure.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list