mercurial/merge.py
branchstable
changeset 14980 28e98a8b173d
parent 14663 88cb01c4575e
child 15041 3afe5edda4e3
--- a/mercurial/merge.py	Fri Jul 22 20:31:15 2011 -0300
+++ b/mercurial/merge.py	Thu Jul 28 14:36:07 2011 +0900
@@ -7,7 +7,7 @@
 
 from node import nullid, nullrev, hex, bin
 from i18n import _
-import scmutil, util, filemerge, copies, subrepo
+import scmutil, util, filemerge, copies, subrepo, encoding
 import errno, os, shutil
 
 class mergestate(object):
@@ -92,7 +92,7 @@
     "check for case folding collisions in the destination context"
     folded = {}
     for fn in mctx:
-        fold = fn.lower()
+        fold = encoding.lower(fn)
         if fold in folded:
             raise util.Abort(_("case-folding collision between %s and %s")
                              % (fn, folded[fold]))