##// END OF EJS Templates
dagwalker: drop a useless intermediate variable...
Pierre-Yves David -
r23006:bb1bd9ee default
parent child Browse files
Show More
@@ -37,11 +37,10 b' def dagwalker(repo, revs):'
37 lowestrev = revs.min()
37 lowestrev = revs.min()
38 gpcache = {}
38 gpcache = {}
39
39
40 knownrevs = revs
41 for rev in revs:
40 for rev in revs:
42 ctx = repo[rev]
41 ctx = repo[rev]
43 parents = sorted(set([p.rev() for p in ctx.parents()
42 parents = sorted(set([p.rev() for p in ctx.parents()
44 if p.rev() in knownrevs]))
43 if p.rev() in revs]))
45 mpars = [p.rev() for p in ctx.parents() if
44 mpars = [p.rev() for p in ctx.parents() if
46 p.rev() != nullrev and p.rev() not in parents]
45 p.rev() != nullrev and p.rev() not in parents]
47
46
General Comments 0
You need to be logged in to leave comments. Login now