# HG changeset patch # User Matt Mackall # Date 1435272551 18000 # Node ID 31137258ae8b49f77e82701ed39b7688b69a1c33 # Parent d343806dcf68d93aa3a49660f2505fd16d036065 formatter: mark developer options diff -r d343806dcf68 -r 31137258ae8b mercurial/formatter.py --- a/mercurial/formatter.py Thu Jun 25 17:48:43 2015 -0500 +++ b/mercurial/formatter.py Thu Jun 25 17:49:11 2015 -0500 @@ -197,8 +197,10 @@ return debugformatter(ui, topic, opts) elif template != "": return templateformatter(ui, topic, opts) + # developer config: ui.formatdebug elif ui.configbool('ui', 'formatdebug'): return debugformatter(ui, topic, opts) + # deprecated config: ui.formatjson elif ui.configbool('ui', 'formatjson'): return jsonformatter(ui, topic, opts) return plainformatter(ui, topic, opts)