Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2016-04-17 09:11:59
Size: 852
Comment: initial version (mostly copied from readme)
Revision 3 as of 2023-02-01 16:16:00
Size: 861
Editor: jaraco
Comment: Rename to 'cHg' to match README. Add parentheticals to help clarify the background behind the naming.
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
A fast client for [[CommandServer|Mercurial command server]] running on Unix. A fast client (c) for [[CommandServer|Mercurial command server]] (Hg) running on Unix.

cHg

A fast client (c) for Mercurial command server (Hg) 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)