# HG changeset patch # User Pulkit Goyal # Date 2019-04-16 11:48:48 # Node ID d9dc0896e1d390a497886ac4b1900d2a99f67f72 # Parent b26455ffa7fa14dd5e2a0f3495fd752f40fecc64 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 diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py --- a/mercurial/branchmap.py +++ b/mercurial/branchmap.py @@ -189,8 +189,7 @@ class branchcache(object): 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]: