comparison tests/run-tests.py @ 48735:29eb80d190b2

rhg: enable `rhg status` by default, without config or env opt-in The full test suite now passes with `hg` pointing to rhg. Differential Revision: https://phab.mercurial-scm.org/D12162
author Simon Sapin <simon.sapin@octobus.net>
date Thu, 10 Feb 2022 19:26:10 +0100
parents b7fde9237c92
children 078e1e1cc7da c827bb7b5806
comparison
equal deleted inserted replaced
48734:3e2b4bb286e7 48735:29eb80d190b2
3226 # `$HGRCPATH` but some tests override that, or changing `_hgcommand` to include 3226 # `$HGRCPATH` but some tests override that, or changing `_hgcommand` to include
3227 # `--config` but that disrupts tests that print command lines and check expected 3227 # `--config` but that disrupts tests that print command lines and check expected
3228 # output. 3228 # output.
3229 osenvironb[b'RHG_ON_UNSUPPORTED'] = b'fallback' 3229 osenvironb[b'RHG_ON_UNSUPPORTED'] = b'fallback'
3230 osenvironb[b'RHG_FALLBACK_EXECUTABLE'] = real_hg 3230 osenvironb[b'RHG_FALLBACK_EXECUTABLE'] = real_hg
3231 osenvironb[b'RHG_STATUS'] = b'1'
3232 else: 3231 else:
3233 # drop flag for hghave 3232 # drop flag for hghave
3234 osenvironb.pop(b'RHG_INSTALLED_AS_HG', None) 3233 osenvironb.pop(b'RHG_INSTALLED_AS_HG', None)
3235 if self.options.rhg: 3234 if self.options.rhg:
3236 self._hgcommand = b'rhg' 3235 self._hgcommand = b'rhg'