Mercurial > hg
diff tests/test-http-branchmap.t @ 38031:37ef6ee87488
test-http-branchmap: fix stdio mode on Windows
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 13 May 2018 11:09:53 +0900 |
parents | 69779a222d5e |
children |
line wrap: on
line diff
--- a/tests/test-http-branchmap.t Sun May 13 11:08:35 2018 +0900 +++ b/tests/test-http-branchmap.t Sun May 13 11:09:53 2018 +0900 @@ -59,7 +59,7 @@ $ cat <<EOF > oldhg > import threading - > from mercurial import hg, ui, wireprotoserver + > from mercurial import dispatch, hg, ui, wireprotoserver > > class StdoutWrapper(object): > def __init__(self, stdout): @@ -77,6 +77,7 @@ > def __getattr__(self, name): > return getattr(self._file, name) > + > dispatch.initstdio() > myui = ui.ui.load() > fout = StdoutWrapper(myui.fout) > myui.fout = myui.ferr