# HG changeset patch # User Pierre-Yves David # Date 2019-03-06 10:23:05 # Node ID a58748300e612b22d0015c1bafc40fda5b840ac6 # Parent aa284d9a33ca91190e9442c41dbf56ee2abd9d38 verify: document the `warn` method This is the first bit of an effort to document and augment the verify code. diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -52,6 +52,7 @@ class verifier(object): self.warnorphanstorefiles = True def warn(self, msg): + """record a "warning" level issue""" self.ui.warn(msg + "\n") self.warnings += 1