Show More
@@ -198,10 +198,10 b' def _newchgui(srcui, csystem, attachio):' | |||||
198 | self._csystem = csystem |
|
198 | self._csystem = csystem | |
199 |
|
199 | |||
200 | def _runsystem(self, cmd, environ, cwd, out): |
|
200 | def _runsystem(self, cmd, environ, cwd, out): | |
201 |
# fallback to the original system method if |
|
201 | # fallback to the original system method if | |
202 |
# |
|
202 | # a. the output stream is not stdout (e.g. stderr, cStringIO), | |
203 |
# |
|
203 | # because the chg client is not aware of these situations and | |
204 |
# |
|
204 | # will behave differently (i.e. write to stdout). | |
205 | if (out is not self.fout |
|
205 | if (out is not self.fout | |
206 | or not util.safehasattr(self.fout, 'fileno') |
|
206 | or not util.safehasattr(self.fout, 'fileno') | |
207 | or self.fout.fileno() != procutil.stdout.fileno()): |
|
207 | or self.fout.fileno() != procutil.stdout.fileno()): |
General Comments 0
You need to be logged in to leave comments.
Login now