view contrib/chg/README @ 28292:3eb7faf6d958

worker: document poor partitioning scheme impact mpm isn't a fan of the existing or previous partitioning scheme. He provided a fantastic justification for why on the mailing list. This patch adds his words to the code so they aren't forgotten.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 27 Feb 2016 21:43:17 -0800
parents 726f8d6cc324
children 8062869860b8
line wrap: on
line source

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
 $ chg --reload-chg-daemon  # reload configuration files

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 if HGPLAIN or HGPLAINEXCEPT changed, but
   some behaviors won't change correctly.
 * 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.