Show More
@@ -2227,8 +2227,9 b' def displaygraph(ui, repo, dag, displaye' | |||||
2227 | 'missing': graphmod.MISSINGPARENT |
|
2227 | 'missing': graphmod.MISSINGPARENT | |
2228 | } |
|
2228 | } | |
2229 | for name, key in edgetypes.items(): |
|
2229 | for name, key in edgetypes.items(): | |
2230 |
# experimental config: |
|
2230 | # experimental config: experimental.graphstyle.* | |
2231 |
styles[key] = ui.config(' |
|
2231 | styles[key] = ui.config('experimental', 'graphstyle.%s' % name, | |
|
2232 | styles[key]) | |||
2232 | if not styles[key]: |
|
2233 | if not styles[key]: | |
2233 | styles[key] = None |
|
2234 | styles[key] = None | |
2234 | for rev, type, ctx, parents in dag: |
|
2235 | for rev, type, ctx, parents in dag: |
@@ -2420,7 +2420,7 b' change graph edge styling' | |||||
2420 |
|
2420 | |||
2421 | $ cd repo |
|
2421 | $ cd repo | |
2422 | $ cat << EOF >> $HGRCPATH |
|
2422 | $ cat << EOF >> $HGRCPATH | |
2423 | > [ui] |
|
2423 | > [experimental] | |
2424 | > graphstyle.parent = | |
|
2424 | > graphstyle.parent = | | |
2425 | > graphstyle.grandparent = : |
|
2425 | > graphstyle.grandparent = : | |
2426 | > graphstyle.missing = |
|
2426 | > graphstyle.missing = |
General Comments 0
You need to be logged in to leave comments.
Login now