D6239: branchcache: fix the docstring of _verifybranch()

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Apr 16 08:27:10 EDT 2019


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

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]:



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


More information about the Mercurial-devel mailing list