commands.sh

hg serve

all

Start a standalone Mercurial web server for browsing repositories.

More info →

Options (3)

-p, --portboolean

Start a web server instance on the specified port

Example: hg serve {{[-p|--port]}} {{port}}
-a, --addressboolean

Start a web server instance on the specified listening address

Example: hg serve {{[-a|--address]}} {{address}}
-n, --nameboolean

Start a web server instance with a specific identifier

Example: hg serve {{[-n|--name]}} {{name}}

Examples (6)

Start a web server instance

Start a web server instance on the specified port

hg serve [-p|--port] port

Start a web server instance on the specified listening address

hg serve [-a|--address] address

Start a web server instance with a specific identifier

hg serve [-n|--name] name

Start a web server instance using the specified theme (see the templates directory)

hg serve --style style

Start a web server instance using the specified SSL certificate bundle

hg serve --certificate path/to/certificate
made by @shridhargupta | data from tldr-pages