diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -979,7 +979,7 @@ def walkchangerevs(repo, match, opts, pr wanted = set() slowpath = match.anypats() or (match.files() and opts.get('removed')) fncache = {} - change = util.cachefunc(repo.changectx) + change = repo.changectx # 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