diff -r 00f18dd1d3d6 -r 8823615f68a5 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Tue Apr 03 08:55:16 2018 -0700 +++ b/mercurial/cmdutil.py Tue Apr 03 08:55:49 2018 -0700 @@ -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