The serve tool is a wrapper for Mercurial’s built-in web server. Once launched, a computer can connect to the http port and browse your repositories, perform clone, pull, or even push operations if enabled.
Toolbar buttons:
- Start
- start the web server
- Stop
- stop the web server
- Configure
- Configure repository web style, description, and access policies
When the settings dialog is launched via the Configure button, it is run in the context of the current repository. Please visit the Mercurial wiki for detailed descriptions of the various web configurations.
In TortoiseHg 2.0, the serve tool natively supports collections of local repositories. Just drag them onto the web serve dialog while it is not running, or add them by hand using the editing buttons. The repository collections can be saved and reloaded.
The server tool can be started from command line
thg serve [OPTION]...
start stand-alone webserver
options:
--webdir-conf name of the webdir config file
use "thg -v help serve" to show global options