diff --git a/mercurial/verify.py b/mercurial/verify.py index a494cccb673e9a1379378e9d585572d78b33d1e8_bWVyY3VyaWFsL3ZlcmlmeS5weQ==..00f18dd1d3d63979e437801d0a684a8f76e6424d_bWVyY3VyaWFsL3ZlcmlmeS5weQ== 100644 --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -47,7 +47,7 @@ self.havecl = len(repo.changelog) > 0 self.havemf = len(repo.manifestlog._revlog) > 0 self.revlogv1 = repo.changelog.version != revlog.REVLOGV0 - self.lrugetctx = util.lrucachefunc(repo.changectx) + self.lrugetctx = util.lrucachefunc(repo.__getitem__) self.refersmf = False self.fncachewarned = False # developer config: verify.skipflags