comparison mercurial/commands.py @ 11103:d29bd98ebff6 stable

commands: explain that "hg serve" does not do authentication
author Martin Geisler <mg@lazybytes.net>
date Fri, 07 May 2010 17:03:31 +0200
parents 275198bc904a
children 9fa028431957 1b8aa9ffa7dc
comparison
equal deleted inserted replaced
11102:275198bc904a 11103:d29bd98ebff6
2879 2879
2880 Start a local HTTP repository browser and pull server. You can use 2880 Start a local HTTP repository browser and pull server. You can use
2881 this for ad-hoc sharing and browing of repositories. It is 2881 this for ad-hoc sharing and browing of repositories. It is
2882 recommended to use a real web server to serve a repository for 2882 recommended to use a real web server to serve a repository for
2883 longer periods of time. 2883 longer periods of time.
2884
2885 Please note that the server does not implement access control.
2886 This means that, by default, anybody can read from the server and
2887 nobody can write to it by default. Set the ``web.allow_push``
2888 option to ``*`` to allow everybody to push to the server. You
2889 should use a real web server if you need to authenticate users.
2884 2890
2885 By default, the server logs accesses to stdout and errors to 2891 By default, the server logs accesses to stdout and errors to
2886 stderr. Use the -A/--accesslog and -E/--errorlog options to log to 2892 stderr. Use the -A/--accesslog and -E/--errorlog options to log to
2887 files. 2893 files.
2888 """ 2894 """