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