Mercurial > hg
diff mercurial/help/config.txt @ 31557:79d98e1b21a7
update: add flag to require update destination
In some mercurial workflows, the default destination for update does not
always work well and can lead to confusing behavior. With this flag enabled,
every update command will require passing an explicit destination, eliminating
this confusion.
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Tue, 14 Mar 2017 17:43:18 -0700 |
parents | 01a0ea04c372 |
children | 7e3b145f8247 |
line wrap: on
line diff
--- a/mercurial/help/config.txt Mon Mar 20 11:38:37 2017 +0900 +++ b/mercurial/help/config.txt Tue Mar 14 17:43:18 2017 -0700 @@ -414,6 +414,15 @@ a different color mode than the pager (activated via the "pager" extension). +``commands`` +---------- + +``update.requiredest`` + Require that the user pass a destination when running ``hg update``. + For example, ``hg update .::`` will be allowed, but a plain ``hg update`` + will be disallowed. + (default: False) + ``committemplate`` ------------------