##// END OF EJS Templates
sshpeer: don't fail forwarding output from closed connections...
Valentin Gatien-Baron -
r47429:fa30292b default
parent child Browse files
Show More
@@ -40,7 +40,7 b' def _forwardoutput(ui, pipe, warn=False)'
40 40 """display all data currently available on pipe as remote output.
41 41
42 42 This is non blocking."""
43 if pipe:
43 if pipe and not pipe.closed:
44 44 s = procutil.readpipe(pipe)
45 45 if s:
46 46 display = ui.warn if warn else ui.status
@@ -10,4 +10,4 b' fails (thus causing the sshpeer to be st'
10 10 further lookups don't result in tracebacks.
11 11
12 12 $ hg pull -r b0 -r nosuchbookmark $(for i in $($TESTDIR/seq.py 1 20); do echo -r b$i; done) -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/$(pwd)/../a |& tail -n 1
13 ValueError: I/O operation on closed file
13 StopIteration
General Comments 0
You need to be logged in to leave comments. Login now