# HG changeset patch # User Pulkit Goyal # Date 1555414754 -10800 # Node ID b26455ffa7fa14dd5e2a0f3495fd752f40fecc64 # Parent a362b0b95e42c8f7d46d7e3a0eb4cc531fa5f2d6 branchcache: don't verify while creating a copy The copy will not be mark as verified, so there is no need to verify nodes. Thanks to Yuya who spotted this while reviewing. Differential Revision: https://phab.mercurial-scm.org/D6238 diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py --- a/mercurial/branchmap.py +++ b/mercurial/branchmap.py @@ -339,7 +339,6 @@ def copy(self): """return an deep copy of the branchcache object""" - self._verifyall() return type(self)( self._entries, self.tipnode, self.tiprev, self.filteredhash, self._closednodes)