# HG changeset patch # User Martin von Zweigbergk # Date 1522770949 25200 # Node ID 8823615f68a5b67dc1cf6725507ff615fb0a0cc1 # Parent 00f18dd1d3d63979e437801d0a684a8f76e6424d log: remove dependence on repo.changectx() This was one of few remaining uses of repo.changectx() in core. Differential Revision: https://phab.mercurial-scm.org/D3035 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