changeset 24598:22f49c7dd11b

windows: define normcase spec and fallback These will be used in upcoming patches to efficiently create a dirstate foldmap.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 01 Apr 2015 00:31:41 -0700
parents b4258d5a1600
children 2a73829ebe17
files mercurial/windows.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/windows.py	Wed Apr 01 00:30:41 2015 -0700
+++ b/mercurial/windows.py	Wed Apr 01 00:31:41 2015 -0700
@@ -141,6 +141,10 @@
 def normcase(path):
     return encoding.upper(path)
 
+# see posix.py for definitions
+normcasespec = encoding.normcasespecs.upper
+normcasefallback = encoding.upperfallback
+
 def samestat(s1, s2):
     return False