Serve

hg serve

Mercurial provides a small built-in web server, which can be started using the serve command.

The server delivers normal html pages to remote web browsers for viewing of repositories. See http://selenic.com/hg as an example for how the pages delivered look like. However, that specific URL is served using an Apache web server, not the built-in "hg serve" Mercurial server (see CGI Install).

The built-in Mercurial server can also answer requests from remote Mercurial processes doing a clone or a pull using the wire protocol.

Help text: http://www.selenic.com/mercurial/hg.1.html#serve

See also: hgserve


CategoryCommand CategoryWeb

Serve (last edited 2009-05-19 19:30:59 by localhost)