D3627: status: add a config knob for setting default of --terse

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue May 29 19:44:55 EDT 2018


martinvonz added a comment.


  In https://phab.mercurial-scm.org/D3627#57185, @pulkit wrote:
  
  > > 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?
  >
  > I am fine with the current approach. Queued the series, many thanks!
  
  
  Note that the current value is visible in `hg help -v status`:
  
    -t --terse VALUE         show the terse output (EXPERIMENTAL) (default:
                             nothing)
  
  Probably not a big deal, but I thought I'd mention it.

INLINE COMMENTS

> config.txt:446
> +``status.terse``
> +    Default value for the --terse flag, which condenes status output.
> +    (default: empty)

Typo in "condenes"

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3627

To: durin42, #hg-reviewers, pulkit
Cc: martinvonz, pulkit, mercurial-devel


More information about the Mercurial-devel mailing list