equal
deleted
inserted
replaced
226 |
226 |
227 # avoid the entire walk if we're only looking for specific files |
227 # avoid the entire walk if we're only looking for specific files |
228 if fset and not match.anypats() and util.all(fn in self for fn in fset): |
228 if fset and not match.anypats() and util.all(fn in self for fn in fset): |
229 for fn in sorted(fset): |
229 for fn in sorted(fset): |
230 yield fn |
230 yield fn |
231 raise StopIteration |
231 return |
232 |
232 |
233 for fn in self: |
233 for fn in self: |
234 if fn in fset: |
234 if fn in fset: |
235 # specified pattern is the exact name |
235 # specified pattern is the exact name |
236 fset.remove(fn) |
236 fset.remove(fn) |