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

login
register
mail settings
Submitter phabricator
Date April 15, 2019, 11:41 p.m.
Message ID <6dc0cf95aaab43011a92f32317808a48@localhost.localdomain>
Download mbox | patch
Permalink /patch/39622/
State Not Applicable
Headers show

Comments

phabricator - April 15, 2019, 11:41 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGbe5eeaf5c24a: branchcache: don&#039;t verify closed nodes in _branchtip() (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6210?vs=14679&id=14753

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