mercurial/pathutil.py
changeset 29889 6f447b9ec263
parent 28087 0b7ce0b16d8a
child 30332 318a24b52eeb
--- a/mercurial/pathutil.py	Mon Aug 29 17:48:14 2016 -0700
+++ b/mercurial/pathutil.py	Tue Aug 30 09:22:53 2016 -0700
@@ -40,7 +40,7 @@
         self.root = root
         self._realfs = realfs
         self.callback = callback
-        if os.path.lexists(root) and not util.checkcase(root):
+        if os.path.lexists(root) and not util.fscasesensitive(root):
             self.normcase = util.normcase
         else:
             self.normcase = lambda x: x