diff -r a6553ba1c598 -r 78e6700ab009 tests/run-tests.py --- a/tests/run-tests.py Tue Mar 02 22:42:10 2021 +0100 +++ b/tests/run-tests.py Wed Mar 03 18:00:54 2021 +0100 @@ -3134,6 +3134,8 @@ # configure fallback and replace "hg" command by "rhg" rhgbindir = self._bindir if self.options.rhg or self.options.with_rhg: + # Affects hghave.py + osenvironb[b'RHG_INSTALLED_AS_HG'] = b'1' # Affects configuration. Alternatives would be setting configuration through # `$HGRCPATH` but some tests override that, or changing `_hgcommand` to include # `--config` but that disrupts tests that print command lines and check expected