[PATCH 0 of 2 STABLE] i18n: fix case collision/folding problem

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Thu Nov 24 00:19:18 CST 2011


This patch series is for i18n enhancement of case collision/folding.

1st one adds cp932 aware filesystem check to hghave, and checkpoints
to "test-casecollision-i18n.t".

This prevents "test-casecollision-i18n.t" from running on cp932
un-aware filesystem and mis-recognizing test result.

# IMHO: now, this test should be named not *-i18n, but *-cp932 or so,
#       should not ?

Then, in this patching, I found case folding problem on problematic
encoding (e.g.: cp932).

# this causes failure of test-casecollision-i18n.t

So, 2nd one fixes this problem.


To Matt:

According to 28e98a8b173d and b2fd4746414a, your switching from
os.path.normcase() to util.normcase() seems to be just going now.

If so, please check conflict between yours (not yet pushed to
selenic.com/repo/hg) and this.


More information about the Mercurial-devel mailing list