Added tag 0.3 for changeset ed0d352a85b9
debian, setup: bump version
debian: split packages into chg executable and server extension
A bit faster Mercurial client for Unix with per-user cmdserver daemon.
For local use:
make local
(or gmake local
on FreeBSD)chg
from your PATH
Debian:
make deb
sudo dpkg -i ../mercurial-chg_*.deb
Other platforms:
make install
If you see failed to import extension chgserver
error, extension modules
wouldn't be installed to the right path. In that case, you'll need to copy
chgserver.py*
and _chgutil.so
(or _chgutil.dylib
) to the hgext
directory. You can get the installation path by hg debuginstall
.
Same as hg
. e.g.
% chg stat
You may want to add the alias:
% alias hg=chg
To terminate background cmdserver:
% chg --kill-chg-daemon
To reload configuration files:
% chg --reload-chg-daemon
cHg updates os.environ
on each request, but some variables cannot make an
effect. The following variables are specially handled by cHg:
HGPLAIN
or HGPLAINEXCEPT
changed, but some behaviors
may not change.LANG
, LANGUAGE
or LC_MESSAGES
changed.CHGHG
or HG
is the path to the 'hg' executable spawned as the background
cmdserver.The following variables are available for testing purpose:
CHGDEBUG
enables debug message of cHg.CHGSOCKNAME
specifies socket path of background cmdserver.