commands: explain that "hg serve" is mostly for ad-hoc sharing stable
authorMartin Geisler <mg@lazybytes.net>
Fri, 07 May 2010 17:01:14 +0200
branchstable
changeset 11102 275198bc904a
parent 11089 9f2c0dd91389
child 11103 d29bd98ebff6
commands: explain that "hg serve" is mostly for ad-hoc sharing
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