mercurial/sshpeer.py
changeset 22935 ee297602a208
parent 22245 234e4c24b980
child 23270 41c03b7592ed
child 23671 e3f30068d2eb
equal deleted inserted replaced
22934:8a096d4d0862 22935:ee297602a208
    50         if create:
    50         if create:
    51             cmd = '%s %s %s' % (sshcmd, args,
    51             cmd = '%s %s %s' % (sshcmd, args,
    52                 util.shellquote("%s init %s" %
    52                 util.shellquote("%s init %s" %
    53                     (_serverquote(remotecmd), _serverquote(self.path))))
    53                     (_serverquote(remotecmd), _serverquote(self.path))))
    54             ui.debug('running %s\n' % cmd)
    54             ui.debug('running %s\n' % cmd)
    55             res = util.system(cmd)
    55             res = util.system(cmd, out=ui.fout)
    56             if res != 0:
    56             if res != 0:
    57                 self._abort(error.RepoError(_("could not create remote repo")))
    57                 self._abort(error.RepoError(_("could not create remote repo")))
    58 
    58 
    59         self._validaterepo(sshcmd, args, remotecmd)
    59         self._validaterepo(sshcmd, args, remotecmd)
    60 
    60