changeset 37302 | 00f18dd1d3d6 |
parent 36577 | d85ef895d5f6 |
child 37410 | a6651f5e2c78 |
--- a/mercurial/verify.py Tue Apr 03 08:46:58 2018 -0700 +++ b/mercurial/verify.py Tue Apr 03 08:55:16 2018 -0700 @@ -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