# HG changeset patch # User Martin Geisler # Date 1273244474 -7200 # Node ID 275198bc904aa08f25cf14bb9786a5acd40f7fc1 # Parent 9f2c0dd913896fc8eb737f22efe65218ac1e356c commands: explain that "hg serve" is mostly for ad-hoc sharing diff -r 9f2c0dd91389 -r 275198bc904a mercurial/commands.py --- 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