Mercurial > hg
changeset 24596:75ea27f1711d
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'.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Wed, 01 Apr 2015 00:29:22 -0700 |
parents | 136ab89d61cb |
children | b4258d5a1600 |
files | mercurial/posix.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.