diff -r b0e3f2d7c143 -r cf8677cd7286 mercurial/chgserver.py --- a/mercurial/chgserver.py Wed Sep 26 21:29:13 2018 +0900 +++ b/mercurial/chgserver.py Wed Sep 26 21:41:52 2018 +0900 @@ -200,7 +200,7 @@ def _runsystem(self, cmd, environ, cwd, out): # fallback to the original system method if # a. the output stream is not stdout (e.g. stderr, cStringIO), - # b. or stdout is redirected by protectstdio(), + # b. or stdout is redirected by protectfinout(), # because the chg client is not aware of these situations and # will behave differently (i.e. write to stdout). if (out is not self.fout