Ad-hoc sharing

anatoly techtonik techtonik at gmail.com
Wed May 19 01:35:49 CDT 2010


"ad-hoc" is confusing term for non-native English folks and it is
better to avoid.


changeset:   10753:275198bc904a
branch:      stable
user:        Martin Geisler <mg at lazybytes.net>
date:        Fri May 07 17:01:14 2010 +0200
files:       mercurial/commands.py
description:
commands: explain that "hg serve" is mostly for ad-hoc sharing


diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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

-- 
anatoly t.


More information about the Mercurial-devel mailing list