##// END OF EJS Templates
dirstate: introduce function to normalize just filenames...
Siddharth Agarwal -
r24539:3a8eba78 default
parent child Browse files
Show More
@@ -490,6 +490,17 b' class dirstate(object):'
490 490
491 491 return folded
492 492
493 def _normalizefile(self, path, isknown, ignoremissing=False, exists=None):
494 normed = util.normcase(path)
495 folded = self._foldmap.get(normed, None)
496 if folded is None:
497 if isknown:
498 folded = path
499 else:
500 folded = self._discoverpath(path, normed, ignoremissing, exists,
501 self._foldmap)
502 return folded
503
493 504 def _normalize(self, path, isknown, ignoremissing=False, exists=None):
494 505 normed = util.normcase(path)
495 506 folded = self._foldmap.get(normed, None)
General Comments 0
You need to be logged in to leave comments. Login now