contrib/chg/README
author timeless <timeless@mozdev.org>
Wed, 06 Apr 2016 20:08:18 +0000
changeset 28820 9848a6c77a9b
parent 28454 8062869860b8
child 29345 62b890496de5
permissions -rw-r--r--
check-code: reject import Queue, suggest util.queue class for py3 compat

cHg
===

A fast client for Mercurial command server running on Unix.

Install:

 $ make
 $ make install

Usage:

 $ chg help                 # show help of Mercurial
 $ alias hg=chg             # replace hg command
 $ chg --kill-chg-daemon    # terminate background server

Environment variables:

Although cHg tries to update environment variables, some of them cannot be
changed after spawning the server. The following variables are specially
handled:

 * configuration files are reloaded automatically by default.
 * 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.