Show More
@@ -2900,7 +2900,16 b' def root(ui, repo):' | |||||
2900 | def serve(ui, repo, **opts): |
|
2900 | def serve(ui, repo, **opts): | |
2901 | """start stand-alone webserver |
|
2901 | """start stand-alone webserver | |
2902 |
|
2902 | |||
2903 | Start a local HTTP repository browser and pull server. |
|
2903 | Start a local HTTP repository browser and pull server. You can use | |
|
2904 | this for ad-hoc sharing and browing of repositories. It is | |||
|
2905 | recommended to use a real web server to serve a repository for | |||
|
2906 | longer periods of time. | |||
|
2907 | ||||
|
2908 | Please note that the server does not implement access control. | |||
|
2909 | This means that, by default, anybody can read from the server and | |||
|
2910 | nobody can write to it by default. Set the ``web.allow_push`` | |||
|
2911 | option to ``*`` to allow everybody to push to the server. You | |||
|
2912 | should use a real web server if you need to authenticate users. | |||
2904 |
|
2913 | |||
2905 | By default, the server logs accesses to stdout and errors to |
|
2914 | By default, the server logs accesses to stdout and errors to | |
2906 | stderr. Use the -A/--accesslog and -E/--errorlog options to log to |
|
2915 | stderr. Use the -A/--accesslog and -E/--errorlog options to log to |
General Comments 0
You need to be logged in to leave comments.
Login now