equal
deleted
inserted
replaced
49 """ |
49 """ |
50 if not revs: |
50 if not revs: |
51 return |
51 return |
52 |
52 |
53 gpcache = {} |
53 gpcache = {} |
54 |
|
55 if repo.ui.configbool('experimental', 'graph-group-branches', False): |
|
56 firstbranch = () |
|
57 firstbranchrevset = repo.ui.config( |
|
58 'experimental', 'graph-group-branches.firstbranch', '') |
|
59 if firstbranchrevset: |
|
60 firstbranch = repo.revs(firstbranchrevset) |
|
61 parentrevs = repo.changelog.parentrevs |
|
62 revs = revset.groupbranchiter(revs, parentrevs, firstbranch) |
|
63 revs = revset.baseset(revs) |
|
64 |
54 |
65 for rev in revs: |
55 for rev in revs: |
66 ctx = repo[rev] |
56 ctx = repo[rev] |
67 # partition into parents in the rev set and missing parents, then |
57 # partition into parents in the rev set and missing parents, then |
68 # augment the lists with markers, to inform graph drawing code about |
58 # augment the lists with markers, to inform graph drawing code about |