Differences between revisions 1 and 2
Revision 1 as of 2016-04-17 09:11:59
Size: 852
Comment: initial version (mostly copied from readme)
Revision 2 as of 2023-02-01 15:20:14
Size: 852
Editor: jaraco
Comment: Capitalize "C" in "CHg" to match page title and proper name "C"
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
= cHg = = CHg =

CHg

A fast client for Mercurial command server running on Unix. It saves time of slow Python startup.

1. Install

$ cd contrib/chg
$ make
$ make install

Make sure to use the chg executable bundled with the source of the installed hg version.

2. Usage

$ chg help                 # show help of Mercurial
$ alias hg=chg             # replace hg command

3. 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

CHg (last edited 2023-02-01 16:16:00 by jaraco)