verify: document the `warn` method
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 06 Mar 2019 11:23:05 +0100
changeset 41861 a58748300e61
parent 41860 aa284d9a33ca
child 41862 c66037fb1bc5
verify: document the `warn` method This is the first bit of an effort to document and augment the verify code.
mercurial/verify.py
--- a/mercurial/verify.py	Mon Mar 04 20:18:13 2019 +0530
+++ b/mercurial/verify.py	Wed Mar 06 11:23:05 2019 +0100
@@ -52,6 +52,7 @@
         self.warnorphanstorefiles = True
 
     def warn(self, msg):
+        """record a "warning" level issue"""
         self.ui.warn(msg + "\n")
         self.warnings += 1