Show More
@@ -124,6 +124,10 b' def has_bzr_range(v):' | |||
|
124 | 124 | except ImportError: |
|
125 | 125 | return False |
|
126 | 126 | |
|
127 | @check("chg", "running with chg") | |
|
128 | def has_chg(): | |
|
129 | return 'CHGHG' in os.environ | |
|
130 | ||
|
127 | 131 | @check("cvs", "cvs client/server") |
|
128 | 132 | def has_cvs(): |
|
129 | 133 | re = r'Concurrent Versions System.*?server' |
@@ -2064,6 +2064,8 b' class TestRunner(object):' | |||
|
2064 | 2064 | chgbindir = self._bindir |
|
2065 | 2065 | if self.options.chg or self.options.with_chg: |
|
2066 | 2066 | osenvironb[b'CHGHG'] = os.path.join(self._bindir, self._hgcommand) |
|
2067 | else: | |
|
2068 | osenvironb.pop(b'CHGHG', None) # drop flag for hghave | |
|
2067 | 2069 | if self.options.chg: |
|
2068 | 2070 | self._hgcommand = b'chg' |
|
2069 | 2071 | elif self.options.with_chg: |
General Comments 0
You need to be logged in to leave comments.
Login now