diff mercurial/sshpeer.py @ 23270:41c03b7592ed

util.system: use ui.system() in place of optional ui.fout parameter
author Yuya Nishihara <yuya@tcha.org>
date Sat, 08 Nov 2014 13:06:22 +0900
parents ee297602a208
children 14ac0c1579cd
line wrap: on
line diff
--- a/mercurial/sshpeer.py	Sat Nov 08 12:57:42 2014 +0900
+++ b/mercurial/sshpeer.py	Sat Nov 08 13:06:22 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, out=ui.fout)
+            res = ui.system(cmd)
             if res != 0:
                 self._abort(error.RepoError(_("could not create remote repo")))