changeset 41868:9534f3cb6b6c

verify: document the `err` method Simple method get simple documentation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Mar 2019 11:25:16 +0100
parents c66037fb1bc5
children 7eaf4b1ac2a3
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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