D6210: branchcache: don't verify closed nodes in _branchtip()

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Apr 5 09:32:02 EDT 2019


pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  We only do membership testing there.

REPOSITORY
  rHG Mercurial

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

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
@@ -304,7 +304,6 @@
         otherwise return last closed head and true.'''
         tip = heads[-1]
         closed = True
-        self._verifyclosed()
         for h in reversed(heads):
             if h not in self._closednodes:
                 tip = h



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


More information about the Mercurial-devel mailing list