sapling/contrib/chg
Jun Wu 9532336199 chg: do not start servers with --traceback
Summary:
In some tests using chg, `--traceback` got accidentally enabled for
commands without `--traceback`. That is a side effect starting
the server using `--traceback`. Let's avoid passing `--traceback`
when starting the server.

Differential Revision: D6942974

fbshipit-source-id: d40697c8a9487ae53ffb5ae43da4f4582ca86545
2018-04-13 21:51:09 -07:00
..
chg.1 chg: remove manual reload logic 2016-03-10 00:12:33 +00:00
chg.c chg: do not start servers with --traceback 2018-04-13 21:51:09 -07:00
hgclient.c chg: prefix (re|m)allocx with chg_ 2018-04-13 21:51:03 -07:00
hgclient.h chg: remove getpager support 2017-01-10 06:59:39 +08:00
Makefile chg: remove outdated rule to start test server 2017-10-12 22:21:14 +09:00
procutil.c chg: respect environment variables for pager 2017-04-12 16:50:23 -07:00
procutil.h chg: respect environment variables for pager 2017-04-12 16:50:23 -07:00
README chg: change default connect timeout to 60 seconds 2016-06-15 21:36:31 +01:00
util.c chg: prefix (re|m)allocx with chg_ 2018-04-13 21:51:03 -07:00
util.h chg: prefix (re|m)allocx with chg_ 2018-04-13 21:51:03 -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.
 * CHGTIMEOUT specifies how many seconds chg will wait before giving up
   connecting to a cmdserver. If it is 0, chg will wait forever. Default: 60