Show More
@@ -1033,7 +1033,12 b' class revlog(object):' | |||||
1033 | # should we try to build a delta? |
|
1033 | # should we try to build a delta? | |
1034 | if prev != nullrev: |
|
1034 | if prev != nullrev: | |
1035 | if self._generaldelta: |
|
1035 | if self._generaldelta: | |
1036 |
|
|
1036 | if p1r >= basecache[1]: | |
|
1037 | d = builddelta(p1r) | |||
|
1038 | elif p2r >= basecache[1]: | |||
|
1039 | d = builddelta(p2r) | |||
|
1040 | else: | |||
|
1041 | d = builddelta(prev) | |||
1037 | else: |
|
1042 | else: | |
1038 | d = builddelta(prev) |
|
1043 | d = builddelta(prev) | |
1039 | dist, l, data, base, chainbase = d |
|
1044 | dist, l, data, base, chainbase = d |
General Comments 0
You need to be logged in to leave comments.
Login now