tests/run-tests.py
changeset 48335 b7fde9237c92
parent 48277 96aa3a68d3b5
child 48735 29eb80d190b2
equal deleted inserted replaced
48329:8b927b33310a 48335:b7fde9237c92
  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'
  3231         else:
  3232         else:
  3232             # drop flag for hghave
  3233             # drop flag for hghave
  3233             osenvironb.pop(b'RHG_INSTALLED_AS_HG', None)
  3234             osenvironb.pop(b'RHG_INSTALLED_AS_HG', None)
  3234         if self.options.rhg:
  3235         if self.options.rhg:
  3235             self._hgcommand = b'rhg'
  3236             self._hgcommand = b'rhg'