Show More
@@ -24,7 +24,8 b' def revisions(repo, start, stop):' | |||||
24 | cur = start |
|
24 | cur = start | |
25 | while cur >= stop: |
|
25 | while cur >= stop: | |
26 | ctx = repo[cur] |
|
26 | ctx = repo[cur] | |
27 |
parents = |
|
27 | parents = [p.rev() for p in ctx.parents() if p.rev() != nullrev] | |
|
28 | parents.sort() | |||
28 | yield (ctx, parents) |
|
29 | yield (ctx, parents) | |
29 | cur -= 1 |
|
30 | cur -= 1 | |
30 |
|
31 |
General Comments 0
You need to be logged in to leave comments.
Login now