##// END OF EJS Templates
sshpeer: use the doublepipe object for the server to client channel...
Pierre-Yves David -
r25422:8dc5ee5b default
parent child Browse files
Show More
@@ -160,6 +160,7 b' class sshpeer(wireproto.wirepeer):'
160 self.pipeo, self.pipei, self.pipee, self.subprocess = sub
160 self.pipeo, self.pipei, self.pipee, self.subprocess = sub
161
161
162 self.pipei = util.bufferedinputpipe(self.pipei)
162 self.pipei = util.bufferedinputpipe(self.pipei)
163 self.pipei = doublepipe(self.ui, self.pipei, self.pipee)
163
164
164 # skip any noise generated by remote shell
165 # skip any noise generated by remote shell
165 self._callstream("hello")
166 self._callstream("hello")
@@ -396,8 +396,8 b' Test hg-ssh in read-only mode:'
396 $ hg push --ssh "sh ../ssh.sh"
396 $ hg push --ssh "sh ../ssh.sh"
397 pushing to ssh://user@dummy/*/remote (glob)
397 pushing to ssh://user@dummy/*/remote (glob)
398 searching for changes
398 searching for changes
399 remote: Permission denied
399 abort: pretxnopen.hg-ssh hook failed
400 abort: pretxnopen.hg-ssh hook failed
400 remote: Permission denied
401 [255]
401 [255]
402
402
403 $ cd ..
403 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now