Patchwork D6239: branchcache: fix the docstring of _verifybranch()

login
register
mail settings
Submitter phabricator
Date April 16, 2019, 12:27 p.m.
Message ID <differential-rev-PHID-DREV-hsum2jnagpglys4ocalj-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/39627/
State Superseded
Headers show

Comments

phabricator - April 16, 2019, 12:27 p.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6239

AFFECTED FILES
  mercurial/branchmap.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py
--- a/mercurial/branchmap.py
+++ b/mercurial/branchmap.py
@@ -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]: