Allow to replace 'hg' executable

Review Request #11102 — Created July 30, 2020 and submitted

Information

RBTools
release-1.0.x
2721437...

Reviewers

Mercurial provides a command-server which can be used with 'chg' binary.
This change allows to replace the 'hg' binary by a 'chg' binary for
usage in a custom script.

This speeds up a single post from 2,8 seconds to 1,1 seconds.

Use MercurialClient('chg') in our custom script and
saw that debugging output calls 'chg' instead of 'hg'.

Default MercurialClient() still uses 'hg' binary.

misery
chipx86
  1. Ship It!
  2. 
      
misery
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (35b943a)
Loading...