[Python-apps-team] Bug#926384: mercurial: Include chg binary in package

Philippe Pepiot philippe.pepiot at logilab.fr
Thu Apr 4 10:41:28 BST 2019


Package: mercurial
Version: 4.9-1~bpo9+1
Severity: wishlist
Tags: patch

Dear Maintainer,

We are using the chg (https://www.mercurial-scm.org/wiki/CHg) binary as
an alias to hg. This allow to avoid the python startup time for
mercurial client and this is a quite huge performance enhancement for
commands taking less than the python startup time.

For example:

% time /usr/bin/hg diff
/usr/bin/hg diff  0.11s user 0.02s system 97% cpu 0.140 total
% time ~/bin/chg diff
~/bin/chg diff  0.00s user 0.00s system 0% cpu 0.040 total

I sent a PR for this: https://salsa.debian.org/python-team/applications/mercurial/merge_requests/2/

Thanks!



More information about the Python-apps-team mailing list