mercurial/verify.py
changeset 41875 2f1f475e9646
parent 41874 1f412223f5bb
child 41876 5ad5a70df2f7
--- a/mercurial/verify.py	Wed Mar 06 14:15:19 2019 +0100
+++ b/mercurial/verify.py	Wed Mar 06 12:21:58 2019 +0100
@@ -198,6 +198,21 @@
         return 0
 
     def _verifychangelog(self):
+        """verify the changelog of a repository
+
+        The following checks are performed:
+        - all of `_checkrevlog` checks,
+        - all of `_checkentry` checks (for each revisions),
+        - each revision can be read.
+
+        The function returns some of the data observed in the changesets as a
+        (mflinkrevs, filelinkrevs) tuples:
+        - mflinkrevs:   is a { manifest-node -> [changelog-rev] } mapping
+        - filelinkrevs: is a { file-path -> [changelog-rev] } mapping
+
+        If a matcher was specified, filelinkrevs will only contains matched
+        files.
+        """
         ui = self.ui
         repo = self.repo
         match = self.match