Mercurial > public > mercurial-scm > hg-stable
diff mercurial/sshpeer.py @ 31207:764f4581d1f3
sshpeer: set a blockedtag when starting ssh
So that the data is readable.
author | Simon Farnsworth <simonfar@fb.com> |
---|---|
date | Mon, 06 Mar 2017 03:25:09 -0800 |
parents | bb04f96df51c |
children | cc2382b60007 |
line wrap: on
line diff
--- a/mercurial/sshpeer.py Mon Mar 06 14:11:21 2017 +0100 +++ b/mercurial/sshpeer.py Mon Mar 06 03:25:09 2017 -0800 @@ -150,7 +150,7 @@ util.shellquote("%s init %s" % (_serverquote(remotecmd), _serverquote(self.path)))) ui.debug('running %s\n' % cmd) - res = ui.system(cmd) + res = ui.system(cmd, blockedtag='sshpeer') if res != 0: self._abort(error.RepoError(_("could not create remote repo")))