sshpeer: set a blockedtag when starting ssh
authorSimon Farnsworth <simonfar@fb.com>
Mon, 06 Mar 2017 03:25:09 -0800
changeset 31197 764f4581d1f3
parent 31196 3af9a9628ecf
child 31198 71a6723c0029
sshpeer: set a blockedtag when starting ssh So that the data is readable.
mercurial/sshpeer.py
--- 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")))