diff mercurial/verify.py @ 41866:a58748300e61

verify: document the `warn` method This is the first bit of an effort to document and augment the verify code.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Mar 2019 11:23:05 +0100
parents d2ff0af6e959
children c66037fb1bc5
line wrap: on
line diff
--- 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