comparison mercurial/localrepo.py @ 7802:dd970a311ea8

merge with stable
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Sun, 25 Jan 2009 19:15:49 +0100
parents d821ea464465 a32847fa0df0
children 6d99ff7b79b5
comparison
equal deleted inserted replaced
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