diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -2227,8 +2227,9 @@ def displaygraph(ui, repo, dag, displaye 'missing': graphmod.MISSINGPARENT } for name, key in edgetypes.items(): - # experimental config: ui.graphstyle.* - styles[key] = ui.config('ui', 'graphstyle.%s' % name, styles[key]) + # experimental config: experimental.graphstyle.* + styles[key] = ui.config('experimental', 'graphstyle.%s' % name, + styles[key]) if not styles[key]: styles[key] = None for rev, type, ctx, parents in dag: diff --git a/tests/test-glog.t b/tests/test-glog.t --- a/tests/test-glog.t +++ b/tests/test-glog.t @@ -2420,7 +2420,7 @@ change graph edge styling $ cd repo $ cat << EOF >> $HGRCPATH - > [ui] + > [experimental] > graphstyle.parent = | > graphstyle.grandparent = : > graphstyle.missing =