diff -r fe36ce0fbcdd -r fa30292b680b mercurial/sshpeer.py --- a/mercurial/sshpeer.py Thu Feb 25 09:59:23 2021 -0500 +++ b/mercurial/sshpeer.py Thu Feb 25 10:00:08 2021 -0500 @@ -40,7 +40,7 @@ """display all data currently available on pipe as remote output. This is non blocking.""" - if pipe: + if pipe and not pipe.closed: s = procutil.readpipe(pipe) if s: display = ui.warn if warn else ui.status