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
--- 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)