changeset 41867:e8c4a9f5b986

verify: minimal documentation for `verifier.verify` I expect the docstring to grow over time, so lets start small.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Mar 2019 11:35:34 +0100
parents cfe08588d711
children 567892b4306c
files mercurial/verify.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/verify.py	Wed Mar 06 11:31:48 2019 +0100
+++ b/mercurial/verify.py	Wed Mar 06 11:35:34 2019 +0100
@@ -130,6 +130,11 @@
         return lr
 
     def verify(self):
+        """verify the content of the Mercurial repository
+
+        This method run all verifications, displaying issues as they are found.
+
+        return 1 if any error have been encountered"""
         repo = self.repo
 
         ui = repo.ui