Show More
@@ -707,9 +707,10 b' class cgpacker(object):' | |||
|
707 | 707 | elif linkrev not in self._precomputedellipsis: |
|
708 | 708 | delta = None |
|
709 | 709 | else: |
|
710 |
delta = self._revisiondeltanarrow( |
|
|
711 |
|
|
|
712 |
|
|
|
710 | delta = self._revisiondeltanarrow( | |
|
711 | cl, store, ischangelog, curr, linkrev, linknode, | |
|
712 | clrevtolocalrev, self._fullclnodes, | |
|
713 | self._precomputedellipsis) | |
|
713 | 714 | else: |
|
714 | 715 | delta = _revisiondeltanormal(store, curr, prev, linknode, |
|
715 | 716 | self._deltaparentfn) |
@@ -1057,9 +1058,10 b' class cgpacker(object):' | |||
|
1057 | 1058 | self._verbosenote(_('%8.i %s\n') % (size, fname)) |
|
1058 | 1059 | progress.complete() |
|
1059 | 1060 | |
|
1060 |
def _revisiondeltanarrow(self, store, ischangelog, rev, linkrev, |
|
|
1061 |
clrevtolocalrev |
|
|
1062 | linkparents = self._precomputedellipsis[linkrev] | |
|
1061 | def _revisiondeltanarrow(self, cl, store, ischangelog, rev, linkrev, | |
|
1062 | linknode, clrevtolocalrev, fullclnodes, | |
|
1063 | precomputedellipsis): | |
|
1064 | linkparents = precomputedellipsis[linkrev] | |
|
1063 | 1065 | def local(clrev): |
|
1064 | 1066 | """Turn a changelog revnum into a local revnum. |
|
1065 | 1067 | |
@@ -1092,11 +1094,11 b' class cgpacker(object):' | |||
|
1092 | 1094 | walk = walk[1:] |
|
1093 | 1095 | if p in clrevtolocalrev: |
|
1094 | 1096 | return clrevtolocalrev[p] |
|
1095 |
elif p in |
|
|
1096 |
walk.extend([pp for pp in |
|
|
1097 | elif p in fullclnodes: | |
|
1098 | walk.extend([pp for pp in cl.parentrevs(p) | |
|
1097 | 1099 | if pp != nullrev]) |
|
1098 |
elif p in |
|
|
1099 |
walk.extend([pp for pp in |
|
|
1100 | elif p in precomputedellipsis: | |
|
1101 | walk.extend([pp for pp in precomputedellipsis[p] | |
|
1100 | 1102 | if pp != nullrev]) |
|
1101 | 1103 | else: |
|
1102 | 1104 | # In this case, we've got an ellipsis with parents |
General Comments 0
You need to be logged in to leave comments.
Login now