verify: document the `err` method
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 06 Mar 2019 11:25:16 +0100
changeset 41863 9534f3cb6b6c
parent 41862 c66037fb1bc5
child 41864 7eaf4b1ac2a3
verify: document the `err` method Simple method get simple documentation.
mercurial/verify.py
--- a/mercurial/verify.py	Wed Mar 06 11:24:40 2019 +0100
+++ b/mercurial/verify.py	Wed Mar 06 11:25:16 2019 +0100
@@ -57,6 +57,7 @@
         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