Mercurial > public > mercurial-scm > hg-stable
diff mercurial/configitems.py @ 38133: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 |
line wrap: on
line diff
--- a/mercurial/configitems.py Sat May 19 16:50:30 2018 -0400 +++ b/mercurial/configitems.py Mon May 14 22:01:27 2018 -0400 @@ -193,6 +193,9 @@ coreconfigitem('commands', 'status.skipstates', default=[], ) +coreconfigitem('commands', 'status.terse', + default='', +) coreconfigitem('commands', 'status.verbose', default=False, )