comparison mercurial/configitems.py @ 38100:18424aeece7f

status: add a config knob for setting default of --terse I want --terse=u basically 100% of the time, but there's not a good way to do that before this patch. I'm very unhappy with how the default value for --terse looks rigt now, but it does *work*. The alternative would be to define an "optional string" flag type using fancyopts.customopt and then use that, leaving the default as None. Does anyone have a strong preference for that, or a better idea? Differential Revision: https://phab.mercurial-scm.org/D3627
author Augie Fackler <augie@google.com>
date Mon, 14 May 2018 22:01:27 -0400
parents 6a7ff5816c5f
children f715faeaceee
comparison
equal deleted inserted replaced
38099:5a87bf0bd343 38100:18424aeece7f
191 default=False, 191 default=False,
192 ) 192 )
193 coreconfigitem('commands', 'status.skipstates', 193 coreconfigitem('commands', 'status.skipstates',
194 default=[], 194 default=[],
195 ) 195 )
196 coreconfigitem('commands', 'status.terse',
197 default='',
198 )
196 coreconfigitem('commands', 'status.verbose', 199 coreconfigitem('commands', 'status.verbose',
197 default=False, 200 default=False,
198 ) 201 )
199 coreconfigitem('commands', 'update.check', 202 coreconfigitem('commands', 'update.check',
200 default=None, 203 default=None,