changeset 42131:b26455ffa7fa

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
author Pulkit Goyal <pulkit@yandex-team.ru>
date Tue, 16 Apr 2019 14:39:14 +0300
parents a362b0b95e42
children d9dc0896e1d3
files mercurial/branchmap.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/branchmap.py	Fri Apr 05 14:35:33 2019 +0200
+++ b/mercurial/branchmap.py	Tue Apr 16 14:39:14 2019 +0300
@@ -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)