Mercurial > hg
diff mercurial/help/config.txt @ 32872:9fcb6df413c9
ui: add support for a tweakdefaults knob
We've been talking for years about a one-stop config knob to opt in to
better behavior. There have been a lot of ideas thrown around, but
they all seem to be too complicated to get anyone to actually do the
work.. As such, this patch is the stupidest thing that can possibly
work in the name of getting a good feature to users.
Right now it's just three config settings that I think are generally
uncontroversial, but I expect to add more soon. That will likely
include adding new config knobs for the express purpose of adding them
to tweakdefaults.
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 14 Jun 2017 20:56:34 -0400 |
parents | cb6436e051ca |
children | a7851519ea02 |
line wrap: on
line diff
--- a/mercurial/help/config.txt Thu Jun 15 15:13:18 2017 -0700 +++ b/mercurial/help/config.txt Wed Jun 14 20:56:34 2017 -0400 @@ -2093,6 +2093,15 @@ on all exceptions, even those recognized by Mercurial (such as IOError or MemoryError). (default: False) +``tweakdefaults`` + + By default Mercurial's behavior changes very little from release + to release, but over time the recommended config settings + shift. Enable this config to opt in to get automatic tweaks to + Mercurial's behavior over time. This config setting will have no + effet if ``HGPLAIN` is set or ``HGPLAINEXCEPT`` is set and does + not include ``tweakdefaults``. (default: False) + ``username`` The committer of a changeset created when running "commit". Typically a person's name and email address, e.g. ``Fred Widget