cygwin: define normcase spec and fallback
These will be used in upcoming patches to efficiently create a dirstate
foldmap.
The Cygwin normcase behavior is more complicated than just a simple lowercasing
or uppercasing. That's why we specify 'other'.
--- a/mercurial/posix.py Tue Mar 31 23:30:19 2015 -0700
+++ b/mercurial/posix.py Wed Apr 01 00:29:22 2015 -0700
@@ -311,6 +311,9 @@
return encoding.upper(path)
+ normcasespec = encoding.normcasespecs.other
+ normcasefallback = normcase
+
# Cygwin translates native ACLs to POSIX permissions,
# but these translations are not supported by native
# tools, so the exec bit tends to be set erroneously.