HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

hg serve — Start a standalone Mercurial web server for browsing repositories. More information: <https://www.me

Submitted by: @import:tldr-pages··
0
Viewed 0 times
servermercurialcommandstartclihg servestandaloneweb

Problem

How to use the hg serve command: Start a standalone Mercurial web server for browsing repositories. More information: <https://www.mercurial-scm.org/help/commands/serve>.

Solution

hg serve — Start a standalone Mercurial web server for browsing repositories. More information: <https://www.mercurial-scm.org/help/commands/serve>.

Start a web server instance:
hg serve


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}}

Code Snippets

Start a web server instance

hg serve

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}}

Context

tldr-pages: common/hg serve

Revisions (0)

No revisions yet.