##// END OF EJS Templates
dirstate: skip optimization on case-folding FS (issue2440)
Matt Mackall -
r12907:e255a5dc stable
parent child Browse files
Show More
@@ -485,11 +485,6 b' class dirstate(object):'
485 work = []
485 work = []
486 wadd = work.append
486 wadd = work.append
487
487
488 if self._checkcase:
489 normalize = self._normalize
490 else:
491 normalize = lambda x, y: x
492
493 exact = skipstep3 = False
488 exact = skipstep3 = False
494 if matchfn == match.exact: # match.exact
489 if matchfn == match.exact: # match.exact
495 exact = True
490 exact = True
@@ -497,6 +492,12 b' class dirstate(object):'
497 elif match.files() and not match.anypats(): # match.match, no patterns
492 elif match.files() and not match.anypats(): # match.match, no patterns
498 skipstep3 = True
493 skipstep3 = True
499
494
495 if self._checkcase:
496 normalize = self._normalize
497 skipstep3 = False
498 else:
499 normalize = lambda x, y: x
500
500 files = sorted(match.files())
501 files = sorted(match.files())
501 subrepos.sort()
502 subrepos.sort()
502 i, j = 0, 0
503 i, j = 0, 0
General Comments 0
You need to be logged in to leave comments. Login now