# HG changeset patch # User Pierre-Yves David # Date 1458803398 25200 # Node ID 1a1e4350b560cf2f49fe235d2e5168471877462d # Parent ca38d993b1b6fc65fbeeba1cb743802ad0092580 graphmod: move the graphstyle options to experimental I let this slip in the [ui] section during the review, as far as I understand we don't plan to actually support customisation of the output on we are happy with our choice. The option are just here to help people tests various options so we can decide which one we'll actually use. I'm moving the config option in the experimental section to make this clearer and avoid making them part of the public API by mistake. diff -r ca38d993b1b6 -r 1a1e4350b560 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Mon Mar 21 21:06:49 2016 +0000 +++ b/mercurial/cmdutil.py Thu Mar 24 00:09:58 2016 -0700 @@ -2227,8 +2227,9 @@ '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 -r ca38d993b1b6 -r 1a1e4350b560 tests/test-glog.t --- a/tests/test-glog.t Mon Mar 21 21:06:49 2016 +0000 +++ b/tests/test-glog.t Thu Mar 24 00:09:58 2016 -0700 @@ -2420,7 +2420,7 @@ $ cd repo $ cat << EOF >> $HGRCPATH - > [ui] + > [experimental] > graphstyle.parent = | > graphstyle.grandparent = : > graphstyle.missing =