Submitter | Pierre-Yves David |
---|---|
Date | March 6, 2019, 4:29 p.m. |
Message ID | <4390cbb4a01be93907ec.1551889769@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/39098/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -77,6 +77,13 @@ class verifier(object): self._err(linkrev, "%s: %s" % (msg, fmsg), filename) def checklog(self, obj, name, linkrev): + """verify high level property of a revlog + + - revlog is present, + - revlog is non-empty, + - sizes (index and data) are correct, + - revlog's format version is correct. + """ if not len(obj) and (self.havecl or self.havemf): self._err(linkrev, _("empty or missing %s") % name) return