##// END OF EJS Templates
run-test: keep track of the "real hg" binary before we replace it with a proxy...
run-test: keep track of the "real hg" binary before we replace it with a proxy When using `--rhg` or `--chg`, the `_hgcommand` attribute get replaced because we actually install them. This make it hard to refer to the installed hg in _installhg. So we keep track of it in a new attribute that we will use in the next few patches.

File last commit:

r52755:607e94e0 default
r53410:7fd3a930 default
Show More
__init__.py
13 lines | 412 B | text/x-python | PythonLexer
# __init__.py - Startup and module loading logic for Mercurial.
#
# Copyright 2015 Gregory Szorc <gregory.szorc@gmail.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from __future__ import annotations
# Allow 'from mercurial import demandimport' to keep working.
import hgdemandimport
demandimport = hgdemandimport