diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -1839,7 +1839,7 @@ wanted = set() slowpath = match.anypats() or (not match.always() and opts.get('removed')) fncache = {} - change = repo.changectx + change = repo.__getitem__ # First step is to fill wanted, the set of revisions that we want to yield. # When it does not induce extra cost, we also fill fncache for revisions in