changeset 7802 | dd970a311ea8 |
parent 7689 | d821ea464465 |
parent 7708 | a32847fa0df0 |
child 7803 | 6d99ff7b79b5 |
7689:d821ea464465 | 7802:dd970a311ea8 |
---|---|
1235 |
1235 |
1236 for top, bottom in pairs: |
1236 for top, bottom in pairs: |
1237 n, l, i = top, [], 0 |
1237 n, l, i = top, [], 0 |
1238 f = 1 |
1238 f = 1 |
1239 |
1239 |
1240 while n != bottom: |
1240 while n != bottom and n != nullid: |
1241 p = self.changelog.parents(n)[0] |
1241 p = self.changelog.parents(n)[0] |
1242 if i == f: |
1242 if i == f: |
1243 l.append(n) |
1243 l.append(n) |
1244 f = f * 2 |
1244 f = f * 2 |
1245 n = p |
1245 n = p |