test-casecollision-i18n.t

Mads Kiilerich mads at kiilerich.com
Mon Nov 14 00:24:48 UTC 2011


Hi

test-casecollision-i18n.t requires icasefs (case insensitive file system).

The test do however expect what seems to be case sensitive behaviour:

   $ hg status -a
   A \x83A (esc)
   A \x83Z (esc)
   A \x83a (esc)
   A \x83z (esc)

On windows I get:

   $ hg status -a
   A \x83A (esc)
   A \x83Z (esc)

That seems more like what I would expect on a case insensitive file system.

Or is it a bug in Mercurial on windows or a bug in the test, or what can 
explain this?

My guess is that this test really depends on a file system that is using 
cp932 when it ignores casing ... and that the test thus not is correct.

But isn't this test run on OS/X HFS too? Without failing? Will OS/X 
detect the encoding in some strange way?

/Mads


More information about the Mercurial-devel mailing list