equal
deleted
inserted
replaced
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. |