util: add normcase spec and fallback
authorSiddharth Agarwal <sid0@fb.com>
Wed, 01 Apr 2015 00:38:56 -0700
changeset 24605 98744856b7d3
parent 24604 ce8dd4fd2d5d
child 24606 e4a733c34bc6
util: add normcase spec and fallback These will be used in upcoming patches to efficiently create a dirstate foldmap.
mercurial/util.py
--- a/mercurial/util.py	Fri Apr 03 22:44:25 2015 +0200
+++ b/mercurial/util.py	Wed Apr 01 00:38:56 2015 -0700
@@ -48,6 +48,8 @@
 nlinks = platform.nlinks
 normpath = platform.normpath
 normcase = platform.normcase
+normcasespec = platform.normcasespec
+normcasefallback = platform.normcasefallback
 openhardlinks = platform.openhardlinks
 oslink = platform.oslink
 parsepatchoutput = platform.parsepatchoutput