equal
deleted
inserted
replaced
483 lnkkind = stat.S_IFLNK |
483 lnkkind = stat.S_IFLNK |
484 join = self._join |
484 join = self._join |
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 |
496 dirignore = util.always # skip step 2 |
491 dirignore = util.always # skip step 2 |
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 |
|
494 |
|
495 if self._checkcase: |
|
496 normalize = self._normalize |
|
497 skipstep3 = False |
|
498 else: |
|
499 normalize = lambda x, y: x |
499 |
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 |
503 while i < len(files) and j < len(subrepos): |
504 while i < len(files) and j < len(subrepos): |