D6238: branchcache: don't verify while creating a copy
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Tue Apr 16 12:27:03 UTC 2019
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The copy will not be mark as verified, so there is no need to verify nodes.
Thanks to Yuya who spotted this while reviewing.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6238
AFFECTED FILES
mercurial/branchmap.py
CHANGE DETAILS
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)
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list