##// END OF EJS Templates
dirstate._normalize: don't construct dirfoldmap if not necessary...
Siddharth Agarwal -
r24561:6514030d default
parent child Browse files
Show More
@@ -509,8 +509,9 b' class dirstate(object):'
509 509
510 510 def _normalize(self, path, isknown, ignoremissing=False, exists=None):
511 511 normed = util.normcase(path)
512 folded = self._filefoldmap.get(normed,
513 self._dirfoldmap.get(normed, None))
512 folded = self._filefoldmap.get(normed, None)
513 if folded is None:
514 folded = self._dirfoldmap.get(normed, None)
514 515 if folded is None:
515 516 if isknown:
516 517 folded = path
General Comments 0
You need to be logged in to leave comments. Login now