Mercurial > hg
comparison mercurial/discovery.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 | 613954a17a25 |
children | 444ed53f93df |
comparison
equal
deleted
inserted
replaced
36842:ff541b8cdee0 | 36843:31581528f242 |
---|