mercurial/cmdutil.py
changeset 37303 8823615f68a5
parent 37272 6ff8bd691fb8
child 37470 d658cbef8041
equal deleted inserted replaced
37302:00f18dd1d3d6 37303:8823615f68a5
  1837     if not revs:
  1837     if not revs:
  1838         return []
  1838         return []
  1839     wanted = set()
  1839     wanted = set()
  1840     slowpath = match.anypats() or (not match.always() and opts.get('removed'))
  1840     slowpath = match.anypats() or (not match.always() and opts.get('removed'))
  1841     fncache = {}
  1841     fncache = {}
  1842     change = repo.changectx
  1842     change = repo.__getitem__
  1843 
  1843 
  1844     # First step is to fill wanted, the set of revisions that we want to yield.
  1844     # First step is to fill wanted, the set of revisions that we want to yield.
  1845     # When it does not induce extra cost, we also fill fncache for revisions in
  1845     # When it does not induce extra cost, we also fill fncache for revisions in
  1846     # wanted: a cache of filenames that were changed (ctx.files()) and that
  1846     # wanted: a cache of filenames that were changed (ctx.files()) and that
  1847     # match the file filtering conditions.
  1847     # match the file filtering conditions.