Show More
@@ -1025,8 +1025,9 b' class deltacomputer(object):' | |||||
1025 | nominateddeltas.append(deltainfo) |
|
1025 | nominateddeltas.append(deltainfo) | |
1026 | for candidaterev in candidaterevs: |
|
1026 | for candidaterev in candidaterevs: | |
1027 | candidatedelta = self._builddeltainfo(revinfo, candidaterev, fh) |
|
1027 | candidatedelta = self._builddeltainfo(revinfo, candidaterev, fh) | |
1028 |
if i |
|
1028 | if candidatedelta is not None: | |
1029 |
|
|
1029 | if isgooddeltainfo(self.revlog, candidatedelta, revinfo): | |
|
1030 | nominateddeltas.append(candidatedelta) | |||
1030 | if nominateddeltas: |
|
1031 | if nominateddeltas: | |
1031 | deltainfo = min(nominateddeltas, key=lambda x: x.deltalen) |
|
1032 | deltainfo = min(nominateddeltas, key=lambda x: x.deltalen) | |
1032 | if deltainfo is not None: |
|
1033 | if deltainfo is not None: |
General Comments 0
You need to be logged in to leave comments.
Login now