Skip to content
Snippets Groups Projects
Commit 56543238 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

run-tests: drop the `rhg` flag for `hghave.py` if unset

This seems cleaner.

Differential Revision: https://phab.mercurial-scm.org/D11050
parent ee1fc8f9
No related branches found
No related tags found
No related merge requests found
......@@ -3185,6 +3185,9 @@
# output.
osenvironb[b'RHG_ON_UNSUPPORTED'] = b'fallback'
osenvironb[b'RHG_FALLBACK_EXECUTABLE'] = real_hg
else:
# drop flag for hghave
osenvironb.pop(b'RHG_INSTALLED_AS_HG', None)
if self.options.rhg:
self._hgcommand = b'rhg'
elif self.options.with_rhg:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment