diff -r 0e7a929754aa -r 0d6137891114 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Thu Mar 17 18:32:10 2016 +0000 +++ b/mercurial/cmdutil.py Sat Mar 19 16:46:15 2016 -0700 @@ -2218,6 +2218,15 @@ filematcher=None): formatnode = _graphnodeformatter(ui, displayer) state = graphmod.asciistate() + styles = state['styles'] + edgetypes = { + 'parent': graphmod.PARENT, + 'grandparent': graphmod.GRANDPARENT, + 'missing': graphmod.MISSINGPARENT + } + for name, key in edgetypes.items(): + # experimental config: ui.graphstyle.* + styles[key] = ui.config('ui', 'graphstyle.%s' % name, styles[key]) for rev, type, ctx, parents in dag: char = formatnode(repo, ctx) copies = None