equal
deleted
inserted
replaced
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 |