branchcache: don't verify closed nodes in _branchtip()
authorPulkit Goyal <pulkit@yandex-team.ru>
Fri, 05 Apr 2019 15:57:09 +0300
changeset 42123 be5eeaf5c24a
parent 42122 7c9d4cf23adf
child 42124 d6437f414437
branchcache: don't verify closed nodes in _branchtip() We only do membership testing there. Differential Revision: https://phab.mercurial-scm.org/D6210
mercurial/branchmap.py
--- a/mercurial/branchmap.py	Fri Apr 05 15:56:33 2019 +0300
+++ b/mercurial/branchmap.py	Fri Apr 05 15:57:09 2019 +0300
@@ -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