Skip to content
Snippets Groups Projects
Commit ee297602a208 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

sshpeer: forward stdout of remote "hg init" to appropriate output channel

Otherwise, commandserver channel could be corrupted.
parent 8a096d4d0862
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@
util.shellquote("%s init %s" %
(_serverquote(remotecmd), _serverquote(self.path))))
ui.debug('running %s\n' % cmd)
res = util.system(cmd)
res = util.system(cmd, out=ui.fout)
if res != 0:
self._abort(error.RepoError(_("could not create remote repo")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment