| 1 |
cHg |
| 2 |
=== |
| 3 |
|
| 4 |
A fast client for Mercurial command server running on Unix. |
| 5 |
|
| 6 |
Install: |
| 7 |
|
| 8 |
$ make |
| 9 |
$ make install |
| 10 |
|
| 11 |
Usage: |
| 12 |
|
| 13 |
$ chg help # show help of Mercurial |
| 14 |
$ alias hg=chg # replace hg command |
| 15 |
$ chg --kill-chg-daemon # terminate background server |
| 16 |
|
| 17 |
Environment variables: |
| 18 |
|
| 19 |
Although cHg tries to update environment variables, some of them cannot be |
| 20 |
changed after spawning the server. The following variables are specially |
| 21 |
handled: |
| 22 |
|
| 23 |
* configuration files are reloaded automatically by default. |
| 24 |
* CHGHG or HG specifies the path to the hg executable spawned as the |
| 25 |
background command server. |
| 26 |
|
| 27 |
The following variables are available for testing: |
| 28 |
|
| 29 |
* CHGDEBUG enables debug messages. |
| 30 |
* CHGSOCKNAME specifies the socket path of the background cmdserver. |
| 31 |
* CHGTIMEOUT specifies how many seconds chg will wait before giving up |
| 32 |
connecting to a cmdserver. If it is 0, chg will wait forever. Default: 60 |
| 33 |
|
| 34 |
Build environment variables: |
| 35 |
|
| 36 |
* HGPATH: the path to the hg executable to call when CHGHG and HG are not set, |
| 37 |
instead of "hg" |
| 38 |
* HGPATHREL=1: when CHGHG and HG are not set, the hg executable will be ./hg |
| 39 |
relative to the chg executable. Only works on linux, falls back to "hg" |
| 40 |
otherwise. |