#pragma section-numbers 2 = cHg = A fast client (c) for [[CommandServer|Mercurial command server]] (Hg) running on Unix. It saves time of slow Python startup. <> == Install == {{{ $ cd contrib/chg $ make $ make install }}} Make sure to use the `chg` executable bundled with the source of the installed `hg` version. == Usage == {{{ $ chg help # show help of Mercurial $ alias hg=chg # replace hg command }}} == Environment == * configuration files are reloaded automatically. * `$CHGHG` or `$HG` specifies the path to the hg executable spawned as the background command server. The following variables are available for testing: * `$CHGDEBUG` enables debug messages. * `$CHGSOCKNAME` specifies the socket path of the background cmdserver. ---- CategoryTools