Kiln » TortoiseHg » TortoiseHg
Clone URL:  
serve.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
================ TortoiseHg Serve ================ .. module:: serve.dialog :synopsis: Dialog used to start/stop the web server The serve tool is a wrapper for Mercurial's built-in web server. Once launched, any computer can attach to the http port and browse your repository(ies) or perform clone, pull, or even push operations (if you configure your server to allow it). .. figure:: figures/serve.png :alt: Web server dialog :guilabel:`Start` start the web server :guilabel:`Stop` stop the web server :guilabel:`Browse` open your default browser at the built-in web server :guilabel:`Configure` Configure repository web style, description, and access policies When the settings dialog is launched via the :guilabel:`Configure` button, it is run in the context of the current repository. Please visit the Mercurial wiki for detailed descriptions of what the various web configurations are for. If you wish to serve a many repositories with a single web server instance, you can create an :file:`hgwebdir.conf` text file with the following contents: :: [paths] / = /path/to/repositories/* The first path '/' is where the repositories will appear in the context of the web server and the second path describes here the repositories can be found on your computer. Multiple entries are possible. To use this file you must launch the TortoiseHg serve dialog from the command line via: :command:`hgtk serve --webdir-conf=hgwebdir.conf`. In a future release of TortoiseHg, we hope to make this launchable from the shell context menu. Changes since 0.7 ----------------- * Improved error handling * i18n fixes .. vim: noet tw=4