changeset 25838:31137258ae8b

formatter: mark developer options
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jun 2015 17:49:11 -0500
parents d343806dcf68
children 1f8287b41935
files mercurial/formatter.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)