changeset 24594 | 609aa973c01d |
parent 24108 | d65ecb814fc0 |
child 24595 | 136ab89d61cb |
--- a/mercurial/posix.py Wed Apr 01 00:21:10 2015 -0700 +++ b/mercurial/posix.py Wed Apr 01 00:26:07 2015 -0700 @@ -200,6 +200,11 @@ def normcase(path): return path.lower() +# what normcase does to ASCII strings +normcasespec = encoding.normcasespecs.lower +# fallback normcase function for non-ASCII strings +normcasefallback = normcase + if sys.platform == 'darwin': def normcase(path):