tests/run-tests.py
changeset 28880 f74eed3115fd
parent 28829 65fb87479792
child 28905 c969c72d6cbc
--- a/tests/run-tests.py	Wed Apr 06 19:09:12 2016 +0000
+++ b/tests/run-tests.py	Sun Mar 20 14:55:56 2016 -0700
@@ -2064,6 +2064,8 @@
         chgbindir = self._bindir
         if self.options.chg or self.options.with_chg:
             osenvironb[b'CHGHG'] = os.path.join(self._bindir, self._hgcommand)
+        else:
+            osenvironb.pop(b'CHGHG', None)  # drop flag for hghave
         if self.options.chg:
             self._hgcommand = b'chg'
         elif self.options.with_chg: