Patchwork D3035: log: remove dependence on repo.changectx()

login
register
mail settings
Submitter phabricator
Date April 3, 2018, 6:13 p.m.
Message ID <e1f5aae198b0189c94ff541cf3ab3a46@localhost.localdomain>
Download mbox | patch
Permalink /patch/30207/
State Not Applicable
Headers show

Comments

phabricator - April 3, 2018, 6:13 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8823615f68a5: log: remove dependence on repo.changectx() (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3035?vs=7540&id=7572

REVISION DETAIL
  https://phab.mercurial-scm.org/D3035

AFFECTED FILES
  mercurial/cmdutil.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

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