Show More
@@ -438,8 +438,6 b' class branchcache(_BaseBranchCache):' | |||
|
438 | 438 | |
|
439 | 439 | # Do we need to verify branch at all ? |
|
440 | 440 | self._verify_node = verify_node |
|
441 | # whether closed nodes are verified or not | |
|
442 | self._closedverified = False | |
|
443 | 441 | # branches for which nodes are verified |
|
444 | 442 | self._verifiedbranches = set() |
|
445 | 443 | self._hasnode = None |
@@ -553,7 +551,6 b' class branchcache(_BaseBranchCache):' | |||
|
553 | 551 | # to hurt to overschedule |
|
554 | 552 | other._delayed = self._delayed |
|
555 | 553 | # also copy information about the current verification state |
|
556 | other._closedverified = self._closedverified | |
|
557 | 554 | other._verifiedbranches = set(self._verifiedbranches) |
|
558 | 555 | return other |
|
559 | 556 | |
@@ -601,19 +598,6 b' class branchcache(_BaseBranchCache):' | |||
|
601 | 598 | % stringutil.forcebytestr(inst) |
|
602 | 599 | ) |
|
603 | 600 | |
|
604 | def _verifyclosed(self): | |
|
605 | """verify the closed nodes we have""" | |
|
606 | if not self._verify_node: | |
|
607 | return | |
|
608 | if self._closedverified: | |
|
609 | return | |
|
610 | assert self._hasnode is not None | |
|
611 | for node in self._closednodes: | |
|
612 | if not self._hasnode(node): | |
|
613 | _unknownnode(node) | |
|
614 | ||
|
615 | self._closedverified = True | |
|
616 | ||
|
617 | 601 | def _verifybranch(self, branch): |
|
618 | 602 | """verify head nodes for the given branch.""" |
|
619 | 603 | if not self._verify_node: |
General Comments 0
You need to be logged in to leave comments.
Login now