changeset 42123:be5eeaf5c24a

branchcache: don't verify closed nodes in _branchtip() We only do membership testing there. Differential Revision: https://phab.mercurial-scm.org/D6210
author Pulkit Goyal <pulkit@yandex-team.ru>
date Fri, 05 Apr 2019 15:57:09 +0300
parents 7c9d4cf23adf
children d6437f414437
files mercurial/branchmap.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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