diff mercurial/windows.py @ 15488:6eff984d8e76 stable

dirstate: fix case-folding identity for traditional Unix We used to use os.path.normcase which was a no-op, which was unhelpful for cases like VFAT on Linux.
author Matt Mackall <mpm@selenic.com>
date Tue, 15 Nov 2011 14:25:11 -0600
parents 871c77e78f5d
children 25ea33fe7e5c 7f01ad702405
line wrap: on
line diff
--- a/mercurial/windows.py	Tue Nov 15 17:16:17 2011 +0100
+++ b/mercurial/windows.py	Tue Nov 15 14:25:11 2011 -0600
@@ -131,6 +131,8 @@
 def normpath(path):
     return pconvert(os.path.normpath(path))
 
+normcase = os.path.normcase
+
 def realpath(path):
     '''
     Returns the true, canonical file system path equivalent to the given