sshpeer: forward stdout of remote "hg init" to appropriate output channel
Otherwise, commandserver channel could be corrupted.
--- a/mercurial/sshpeer.py Wed Sep 03 16:34:29 2014 -0400
+++ b/mercurial/sshpeer.py Tue Oct 14 21:59:39 2014 +0900
@@ -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")))