equal
deleted
inserted
replaced
2104 path = self.path or "" |
2104 path = self.path or "" |
2105 |
2105 |
2106 if not path: |
2106 if not path: |
2107 raise RepoError("no remote repository path specified") |
2107 raise RepoError("no remote repository path specified") |
2108 |
2108 |
2109 cmd = "ssh %s 'hg -R %s serve --stdio'" |
2109 sshcmd = self.ui.config("ui", "ssh", "ssh") |
2110 cmd = cmd % (args, path) |
2110 remotecmd = self.ui.config("ui", "remotecmd", "hg") |
|
2111 cmd = "%s %s '%s -R %s serve --stdio'" |
|
2112 cmd = cmd % (sshcmd, args, remotecmd, path) |
2111 |
2113 |
2112 self.pipeo, self.pipei, self.pipee = os.popen3(cmd) |
2114 self.pipeo, self.pipei, self.pipee = os.popen3(cmd) |
2113 |
2115 |
2114 def readerr(self): |
2116 def readerr(self): |
2115 while 1: |
2117 while 1: |