Mercurial > hg
comparison mercurial/formatter.py @ 25838:31137258ae8b
formatter: mark developer options
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 25 Jun 2015 17:49:11 -0500 |
parents | 0c6f98398f8a |
children | 175873e36d03 |
comparison
equal
deleted
inserted
replaced
25837:d343806dcf68 | 25838:31137258ae8b |
---|---|
195 return pickleformatter(ui, topic, opts) | 195 return pickleformatter(ui, topic, opts) |
196 elif template == "debug": | 196 elif template == "debug": |
197 return debugformatter(ui, topic, opts) | 197 return debugformatter(ui, topic, opts) |
198 elif template != "": | 198 elif template != "": |
199 return templateformatter(ui, topic, opts) | 199 return templateformatter(ui, topic, opts) |
200 # developer config: ui.formatdebug | |
200 elif ui.configbool('ui', 'formatdebug'): | 201 elif ui.configbool('ui', 'formatdebug'): |
201 return debugformatter(ui, topic, opts) | 202 return debugformatter(ui, topic, opts) |
203 # deprecated config: ui.formatjson | |
202 elif ui.configbool('ui', 'formatjson'): | 204 elif ui.configbool('ui', 'formatjson'): |
203 return jsonformatter(ui, topic, opts) | 205 return jsonformatter(ui, topic, opts) |
204 return plainformatter(ui, topic, opts) | 206 return plainformatter(ui, topic, opts) |