equal
deleted
inserted
replaced
590 fset = set(match.files()) |
590 fset = set(match.files()) |
591 # avoid the entire walk if we're only looking for specific files |
591 # avoid the entire walk if we're only looking for specific files |
592 if fset and not match.anypats(): |
592 if fset and not match.anypats(): |
593 if util.all(fn in self for fn in fset): |
593 if util.all(fn in self for fn in fset): |
594 for fn in sorted(fset): |
594 for fn in sorted(fset): |
595 if match(fn): |
595 yield fn |
596 yield fn |
|
597 raise StopIteration |
596 raise StopIteration |
598 |
597 |
599 for fn in self: |
598 for fn in self: |
600 if fn in fset: |
599 if fn in fset: |
601 # specified pattern is the exact name |
600 # specified pattern is the exact name |