equal
deleted
inserted
replaced
528 fset = set(match.files()) |
528 fset = set(match.files()) |
529 |
529 |
530 # avoid the entire walk if we're only looking for specific files |
530 # avoid the entire walk if we're only looking for specific files |
531 if self._filesfastpath(match): |
531 if self._filesfastpath(match): |
532 for fn in sorted(fset): |
532 for fn in sorted(fset): |
533 yield fn |
533 if fn in self: |
|
534 yield fn |
534 return |
535 return |
535 |
536 |
536 for fn in self: |
537 for fn in self: |
537 if fn in fset: |
538 if fn in fset: |
538 # specified pattern is the exact name |
539 # specified pattern is the exact name |