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

login
register
mail settings
Submitter phabricator
Date April 5, 2019, 1:32 p.m.
Message ID <differential-rev-PHID-DREV-w4skpnmxztiyryuwz7sn-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/39507/
State Superseded
Headers show

Comments

phabricator - April 5, 2019, 1:32 p.m.
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




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
@@ -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