# HG changeset patch # User Pierre-Yves David # Date 1620037235 -7200 # Node ID bc138f2a2e47e1934ea57b73ebfa95be2cde1f54 # Parent c261899fb282aff95e32b1d530509b7b44ac59f8 verify: pass a revlog to `_checkrevlog` in `_verifymanifest` Since `manifestrevlog` is not a `revlog`, we are passing strange thing to `_checkrevlog`. We fix this to avoid breakage during future change. Differential Revision: https://phab.mercurial-scm.org/D10564 diff -r c261899fb282 -r bc138f2a2e47 mercurial/verify.py --- a/mercurial/verify.py Mon May 03 12:20:25 2021 +0200 +++ b/mercurial/verify.py Mon May 03 12:20:35 2021 +0200 @@ -326,7 +326,7 @@ if self.refersmf: # Do not check manifest if there are only changelog entries with # null manifests. - self._checkrevlog(mf, label, 0) + self._checkrevlog(mf._revlog, label, 0) progress = ui.makeprogress( _(b'checking'), unit=_(b'manifests'), total=len(mf) )