dirstate: use util.normcase to build foldmap stable
authorMatt Mackall <mpm@selenic.com>
Tue, 22 Nov 2011 17:26:31 -0600
branchstable
changeset 15550 b2fd4746414a
parent 15548 f76584098c88
child 15551 1fa41d1f1351
dirstate: use util.normcase to build foldmap
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Tue Nov 22 17:51:43 2011 +0100
+++ b/mercurial/dirstate.py	Tue Nov 22 17:26:31 2011 -0600
@@ -68,7 +68,7 @@
     def _foldmap(self):
         f = {}
         for name in self._map:
-            f[os.path.normcase(name)] = name
+            f[util.normcase(name)] = name
         return f
 
     @propertycache