Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 35038:6ef744a7df65
config: rename allow_push to allow-push
As part of ConfigConsolidationPlan [1], rename the option according to
the new UI guidelines [2] and add an alias for backward compatibility.
[1]: https://www.mercurial-scm.org/wiki/ConfigConsolidationPlan
[2]: https://www.mercurial-scm.org/wiki/UIGuideline#adding_new_options
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 19 Oct 2017 11:46:41 +0200 |
parents | e61d661b0350 |
children | d7a4384d2d87 |
comparison
equal
deleted
inserted
replaced
35037:da5d5ea7d696 | 35038:6ef744a7df65 |
---|---|
4693 recommended to use a real web server to serve a repository for | 4693 recommended to use a real web server to serve a repository for |
4694 longer periods of time. | 4694 longer periods of time. |
4695 | 4695 |
4696 Please note that the server does not implement access control. | 4696 Please note that the server does not implement access control. |
4697 This means that, by default, anybody can read from the server and | 4697 This means that, by default, anybody can read from the server and |
4698 nobody can write to it by default. Set the ``web.allow_push`` | 4698 nobody can write to it by default. Set the ``web.allow-push`` |
4699 option to ``*`` to allow everybody to push to the server. You | 4699 option to ``*`` to allow everybody to push to the server. You |
4700 should use a real web server if you need to authenticate users. | 4700 should use a real web server if you need to authenticate users. |
4701 | 4701 |
4702 By default, the server logs accesses to stdout and errors to | 4702 By default, the server logs accesses to stdout and errors to |
4703 stderr. Use the -A/--accesslog and -E/--errorlog options to log to | 4703 stderr. Use the -A/--accesslog and -E/--errorlog options to log to |