# HG changeset patch # User Pierre-Yves David # Date 2019-03-06 10:25:16 # Node ID 9534f3cb6b6c847ffb2b3ab1afc723532f239951 # Parent c66037fb1bc568895641228054c884e860201322 verify: document the `err` method Simple method get simple documentation. diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -57,6 +57,7 @@ class verifier(object): self.warnings += 1 def err(self, linkrev, msg, filename=None): + """record a "error" level issue""" if linkrev is not None: self.badrevs.add(linkrev) linkrev = "%d" % linkrev