branchcache: fix the docstring of _verifybranch()
authorPulkit Goyal <pulkit@yandex-team.ru>
Tue, 16 Apr 2019 14:48:48 +0300
changeset 42132 d9dc0896e1d3
parent 42131 b26455ffa7fa
child 42133 75e8e16ca107
branchcache: fix the docstring of _verifybranch() Initially the function was designed to support verifying all branches but later I decided to have a separate function. I forget to remove the doc related to that. Thanks to Yuya for spotting this in review. Differential Revision: https://phab.mercurial-scm.org/D6239
mercurial/branchmap.py
--- a/mercurial/branchmap.py	Tue Apr 16 14:39:14 2019 +0300
+++ b/mercurial/branchmap.py	Tue Apr 16 14:48:48 2019 +0300
@@ -189,8 +189,7 @@
         self._closedverified = True
 
     def _verifybranch(self, branch):
-        """ verify head nodes for the given branch. If branch is None, verify
-        for all the branches """
+        """ verify head nodes for the given branch. """
         if branch not in self._entries or branch in self._verifiedbranches:
             return
         for n in self._entries[branch]: