changeset 15550:b2fd4746414a stable

dirstate: use util.normcase to build foldmap
author Matt Mackall <mpm@selenic.com>
date Tue, 22 Nov 2011 17:26:31 -0600
parents f76584098c88
children 1fa41d1f1351
files mercurial/dirstate.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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