mercurial/cmdutil.py
branchstable
changeset 16108 f7e0d95d0a0b
parent 16070 f11eee00c652
child 16165 60101427d618
equal deleted inserted replaced
16107:a3dcc59054ca 16108:f7e0d95d0a0b
   977     if not revs:
   977     if not revs:
   978         return []
   978         return []
   979     wanted = set()
   979     wanted = set()
   980     slowpath = match.anypats() or (match.files() and opts.get('removed'))
   980     slowpath = match.anypats() or (match.files() and opts.get('removed'))
   981     fncache = {}
   981     fncache = {}
   982     change = util.cachefunc(repo.changectx)
   982     change = repo.changectx
   983 
   983 
   984     # First step is to fill wanted, the set of revisions that we want to yield.
   984     # First step is to fill wanted, the set of revisions that we want to yield.
   985     # When it does not induce extra cost, we also fill fncache for revisions in
   985     # When it does not induce extra cost, we also fill fncache for revisions in
   986     # wanted: a cache of filenames that were changed (ctx.files()) and that
   986     # wanted: a cache of filenames that were changed (ctx.files()) and that
   987     # match the file filtering conditions.
   987     # match the file filtering conditions.