mercurial/manifest.py
changeset 24684 ff7badaf3158
parent 24683 4eaea0ed8dc1
child 24685 b3d78d82d84c
equal deleted inserted replaced
24683:4eaea0ed8dc1 24684:ff7badaf3158
   228             return
   228             return
   229 
   229 
   230         fset = set(match.files())
   230         fset = set(match.files())
   231 
   231 
   232         # avoid the entire walk if we're only looking for specific files
   232         # avoid the entire walk if we're only looking for specific files
   233         if fset and not match.anypats() and util.all(fn in self for fn in fset):
   233         if not match.anypats() and util.all(fn in self for fn in fset):
   234             for fn in sorted(fset):
   234             for fn in sorted(fset):
   235                 yield fn
   235                 yield fn
   236             return
   236             return
   237 
   237 
   238         for fn in self:
   238         for fn in self: