sapling/contrib/chg
Jun Wu 9c2bea1fcf chg: make connect debug message less repetitive
Before this patch, "connect to" debug message is printed repeatedly because
a previous patch changed how the chg client decides the server is ready to be
connected.

This patch revises the places we print connect debug messages so they are less
repetitive without losing useful information.
2016-04-04 02:36:05 +01:00
..
chg.1 chg: remove manual reload logic 2016-03-10 00:12:33 +00:00
chg.c chg: make connect debug message less repetitive 2016-04-04 02:36:05 +01:00
hgclient.c chg: make connect debug message less repetitive 2016-04-04 02:36:05 +01:00
hgclient.h chg: implement validate in hgclient 2016-03-06 14:21:52 +00:00
Makefile chg: allows default hg path to be overridden 2016-03-20 15:43:20 -07:00
README chg: remove manual reload logic 2016-03-10 00:12:33 +00:00
util.c chg: add utility functions mallocx, reallocx 2016-02-17 14:51:38 +00:00
util.h chg: define PRINTF_FORMAT_ for non gnu C compiler 2016-03-20 15:25:25 -07:00

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.