changeset 42132:d9dc0896e1d3

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
author Pulkit Goyal <pulkit@yandex-team.ru>
date Tue, 16 Apr 2019 14:48:48 +0300
parents b26455ffa7fa
children 75e8e16ca107
files mercurial/branchmap.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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]: