Show More
@@ -715,6 +715,8 b' class _DeltaSearch:' | |||
|
715 | 715 | snapshot_cache = SnapshotCache() |
|
716 | 716 | self.snapshot_cache = snapshot_cache |
|
717 | 717 | |
|
718 | self.tested = {nullrev} | |
|
719 | ||
|
718 | 720 | def candidate_groups(self): |
|
719 | 721 | """Provides group of revision to be tested as delta base |
|
720 | 722 | |
@@ -741,7 +743,7 b' class _DeltaSearch:' | |||
|
741 | 743 | deltas_limit = self.textlen * LIMIT_DELTA2TEXT |
|
742 | 744 | group_chunk_size = self.revlog.delta_config.candidate_group_chunk_size |
|
743 | 745 | |
|
744 | tested = {nullrev} | |
|
746 | tested = self.tested # prefetch for speed and code compactness | |
|
745 | 747 | candidates = self._refined_groups() |
|
746 | 748 | while True: |
|
747 | 749 | temptative = candidates.send(good) |
General Comments 0
You need to be logged in to leave comments.
Login now