Show More
@@ -29,10 +29,10 b' class sshrepository(remoterepository):' | |||||
29 |
|
29 | |||
30 | sshcmd = self.ui.config("ui", "ssh", "ssh") |
|
30 | sshcmd = self.ui.config("ui", "ssh", "ssh") | |
31 | remotecmd = self.ui.config("ui", "remotecmd", "hg") |
|
31 | remotecmd = self.ui.config("ui", "remotecmd", "hg") | |
32 |
cmd = |
|
32 | cmd = '%s %s "%s -R %s serve --stdio"' | |
33 | cmd = cmd % (sshcmd, args, remotecmd, self.path) |
|
33 | cmd = cmd % (sshcmd, args, remotecmd, self.path) | |
34 |
|
34 | |||
35 | self.pipeo, self.pipei, self.pipee = os.popen3(cmd) |
|
35 | self.pipeo, self.pipei, self.pipee = os.popen3(cmd, 'b') | |
36 |
|
36 | |||
37 | def readerr(self): |
|
37 | def readerr(self): | |
38 | while 1: |
|
38 | while 1: |
General Comments 0
You need to be logged in to leave comments.
Login now