comparison doc/hg.1.txt @ 605:8e82fd763be2

[PATCH] Get "hg serve" to optionally log accesses and errors to files -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Get "hg serve" to optionally log accesses and errors to files From: Bryan O'Sullivan <bos@serpentine.com> Get "hg serve" to log accesses and errors to files. manifest hash: 573ef524d84cc7d2777f5fd982f2ef47f4bcf668 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCyMA5ywK+sNU5EO8RAp1eAJoD6Qqy6XcGInzZKdo0Qp7gLttYzACfRywL fSGapmCAIaZPoBvoxXTk8Zo= =ZicU -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sun, 03 Jul 2005 20:51:05 -0800
parents c2c2c6d617bd
children ea4526f9b1a5
comparison
equal deleted inserted replaced
604:40a66d464ac2 605:8e82fd763be2
272 -n, --nonrecursive do not recurse into subdirectories 272 -n, --nonrecursive do not recurse into subdirectories
273 273
274 root:: 274 root::
275 Print the root directory of the current repository. 275 Print the root directory of the current repository.
276 276
277 serve [-a addr -n name -p port -t templatedir]:: 277 serve [-a addr -l logfile -n name -p port -t templatedir]::
278 Start a local HTTP repository browser and pull server. 278 Start a local HTTP repository browser and pull server.
279 279
280 options: 280 By default, the server logs accesses to stdout and errors to
281 -a, --address <addr> address to use 281 stderr. Use the "-A" and "-E" options to log to files.
282 -p, --port <n> port to use (default: 8000) 282
283 -n, --name <name> name to show in web pages (default: working dir) 283 options:
284 -A, --accesslog <file> name of access log file to write to
285 -E, --errorlog <file> name of error log file to write to
286 -a, --address <addr> address to use
287 -p, --port <n> port to use (default: 8000)
288 -n, --name <name> name to show in web pages (default: working dir)
284 -t, --templatedir <path> web templates to use 289 -t, --templatedir <path> web templates to use
285 290
286 status:: 291 status::
287 Show changed files in the working directory. 292 Show changed files in the working directory.
288 293