comparison mercurial/fancyopts.py @ 36843:31581528f242

debugwireproto: close the write end before consuming all available data And make it read all available data deterministically. Otherwise util.poll() may deadlock because both stdout and stderr could have no data. Spotted by the next patch which removes stderr from the fds.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 12 Mar 2018 22:47:33 +0900
parents 24b481668293
children ef6215df2402
comparison
equal deleted inserted replaced
36842:ff541b8cdee0 36843:31581528f242