formatter: mark developer options
authorMatt Mackall <mpm@selenic.com>
Thu, 25 Jun 2015 17:49:11 -0500
changeset 25838 31137258ae8b
parent 25837 d343806dcf68
child 25839 1f8287b41935
formatter: mark developer options
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)