equal
deleted
inserted
replaced
148 if create: |
148 if create: |
149 cmd = '%s %s %s' % (sshcmd, args, |
149 cmd = '%s %s %s' % (sshcmd, args, |
150 util.shellquote("%s init %s" % |
150 util.shellquote("%s init %s" % |
151 (_serverquote(remotecmd), _serverquote(self.path)))) |
151 (_serverquote(remotecmd), _serverquote(self.path)))) |
152 ui.debug('running %s\n' % cmd) |
152 ui.debug('running %s\n' % cmd) |
153 res = ui.system(cmd) |
153 res = ui.system(cmd, blockedtag='sshpeer') |
154 if res != 0: |
154 if res != 0: |
155 self._abort(error.RepoError(_("could not create remote repo"))) |
155 self._abort(error.RepoError(_("could not create remote repo"))) |
156 |
156 |
157 self._validaterepo(sshcmd, args, remotecmd) |
157 self._validaterepo(sshcmd, args, remotecmd) |
158 |
158 |