Show More
@@ -1074,6 +1074,12 b' class _DeltaSearch(_BaseDeltaSearch):' | |||
|
1074 | 1074 | # Test all parents (1 or 2), and keep the best candidate |
|
1075 | 1075 | yield parents |
|
1076 | 1076 | |
|
1077 | def _iter_prev(self): | |
|
1078 | # other approach failed try against prev to hopefully save us a | |
|
1079 | # fulltext. | |
|
1080 | self.current_stage = _STAGE_PREV | |
|
1081 | yield (self.target_rev - 1,) | |
|
1082 | ||
|
1077 | 1083 | def _refined_groups(self): |
|
1078 | 1084 | good = None |
|
1079 | 1085 | groups = self._raw_groups() |
@@ -1221,10 +1227,7 b' class _DeltaSearch(_BaseDeltaSearch):' | |||
|
1221 | 1227 | yield tuple(sorted(full)) |
|
1222 | 1228 | |
|
1223 | 1229 | if not sparse: |
|
1224 | # other approach failed try against prev to hopefully save us a | |
|
1225 | # fulltext. | |
|
1226 | self.current_stage = _STAGE_PREV | |
|
1227 | yield (prev,) | |
|
1230 | yield from self._iter_prev() | |
|
1228 | 1231 | |
|
1229 | 1232 | |
|
1230 | 1233 | class SnapshotCache: |
General Comments 0
You need to be logged in to leave comments.
Login now