mercurial/verify.py
changeset 41874 1f412223f5bb
parent 41873 08d977451f26
child 41875 2f1f475e9646
--- a/mercurial/verify.py	Wed Mar 06 14:10:23 2019 +0100
+++ b/mercurial/verify.py	Wed Mar 06 14:15:19 2019 +0100
@@ -76,7 +76,7 @@
             fmsg = pycompat.byterepr(inst)
         self._err(linkrev, "%s: %s" % (msg, fmsg), filename)
 
-    def checklog(self, obj, name, linkrev):
+    def _checkrevlog(self, obj, name, linkrev):
         """verify high level property of a revlog
 
         - revlog is present,
@@ -207,7 +207,7 @@
         mflinkrevs = {}
         filelinkrevs = {}
         seen = {}
-        self.checklog(cl, "changelog", 0)
+        self._checkrevlog(cl, "changelog", 0)
         progress = ui.makeprogress(_('checking'), unit=_('changesets'),
                                    total=len(repo))
         for i in repo:
@@ -253,7 +253,7 @@
         if self.refersmf:
             # Do not check manifest if there are only changelog entries with
             # null manifests.
-            self.checklog(mf, label, 0)
+            self._checkrevlog(mf, label, 0)
         progress = ui.makeprogress(_('checking'), unit=_('manifests'),
                                    total=len(mf))
         for i in mf: