Show More
@@ -36,9 +36,11 b' def dagwalker(repo, revs):' | |||||
36 | lowestrev = min(revs) |
|
36 | lowestrev = min(revs) | |
37 | gpcache = {} |
|
37 | gpcache = {} | |
38 |
|
38 | |||
|
39 | knownrevs = set(revs) | |||
39 | for rev in revs: |
|
40 | for rev in revs: | |
40 | ctx = repo[rev] |
|
41 | ctx = repo[rev] | |
41 |
parents = sorted(set([p.rev() for p in ctx.parents() |
|
42 | parents = sorted(set([p.rev() for p in ctx.parents() | |
|
43 | if p.rev() in knownrevs])) | |||
42 | mpars = [p.rev() for p in ctx.parents() if |
|
44 | mpars = [p.rev() for p in ctx.parents() if | |
43 | p.rev() != nullrev and p.rev() not in parents] |
|
45 | p.rev() != nullrev and p.rev() not in parents] | |
44 |
|
46 |
General Comments 0
You need to be logged in to leave comments.
Login now