changeset 31197: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 3af9a9628ecf
children 71a6723c0029
files mercurial/sshpeer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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")))