##// END OF EJS Templates
sshpeer: check pipe validity before forwarding output from it...
Matt Harbison -
r36851:46f4d71e default
parent child Browse files
Show More
@@ -32,10 +32,11 b' def _forwardoutput(ui, pipe):'
32 32 """display all data currently available on pipe as remote output.
33 33
34 34 This is non blocking."""
35 s = util.readpipe(pipe)
36 if s:
37 for l in s.splitlines():
38 ui.status(_("remote: "), l, '\n')
35 if pipe:
36 s = util.readpipe(pipe)
37 if s:
38 for l in s.splitlines():
39 ui.status(_("remote: "), l, '\n')
39 40
40 41 class doublepipe(object):
41 42 """Operate a side-channel pipe in addition of a main one
General Comments 0
You need to be logged in to leave comments. Login now