changeset 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 aa284d9a33ca
children c66037fb1bc5
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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