equal
deleted
inserted
replaced
245 firstbranchrevset = repo.ui.config( |
245 firstbranchrevset = repo.ui.config( |
246 'experimental', 'graph-group-branches.firstbranch', '') |
246 'experimental', 'graph-group-branches.firstbranch', '') |
247 if firstbranchrevset: |
247 if firstbranchrevset: |
248 firstbranch = repo.revs(firstbranchrevset) |
248 firstbranch = repo.revs(firstbranchrevset) |
249 parentrevs = repo.changelog.parentrevs |
249 parentrevs = repo.changelog.parentrevs |
250 revs = list(groupbranchiter(revs, parentrevs, firstbranch)) |
250 revs = groupbranchiter(revs, parentrevs, firstbranch) |
|
251 revs = revset.baseset(revs) |
251 |
252 |
252 for rev in revs: |
253 for rev in revs: |
253 ctx = repo[rev] |
254 ctx = repo[rev] |
254 parents = sorted(set([p.rev() for p in ctx.parents() |
255 parents = sorted(set([p.rev() for p in ctx.parents() |
255 if p.rev() in revs])) |
256 if p.rev() in revs])) |