Mercurial > hg
changeset 11102:275198bc904a stable
commands: explain that "hg serve" is mostly for ad-hoc sharing
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Fri, 07 May 2010 17:01:14 +0200 |
parents | 9f2c0dd91389 |
children | d29bd98ebff6 |
files | mercurial/commands.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Mon May 03 15:22:47 2010 -0700 +++ b/mercurial/commands.py Fri May 07 17:01:14 2010 +0200 @@ -2877,7 +2877,10 @@ def serve(ui, repo, **opts): """export the repository via HTTP - Start a local HTTP repository browser and pull server. + Start a local HTTP repository browser and pull server. You can use + this for ad-hoc sharing and browing of repositories. It is + recommended to use a real web server to serve a repository for + longer periods of time. By default, the server logs accesses to stdout and errors to stderr. Use the -A/--accesslog and -E/--errorlog options to log to