Mercurial > hg-stable
changeset 28617:1a1e4350b560
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.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 24 Mar 2016 00:09:58 -0700 |
parents | ca38d993b1b6 |
children | 695c666f42ff |
files | mercurial/cmdutil.py tests/test-glog.t |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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: