# HG changeset patch # User Pierre-Yves David # Date 1551867785 -3600 # 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 -r aa284d9a33ca -r a58748300e61 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