diff --git a/hggit/_ssh.py b/hggit/_ssh.py index a49c82c463..c4338b53f6 100644 --- a/hggit/_ssh.py +++ b/hggit/_ssh.py @@ -18,7 +18,7 @@ def generate_ssh_vendor(ui): sshcmd = ui.config("ui", "ssh", "ssh") args = util.sshargs(sshcmd, host, username, port) - cmd = '%s %s %s' % (sshcmd, args, + cmd = '%s %s %s' % (sshcmd, args, util.shellquote(' '.join(command))) ui.debug('calling ssh: %s\n' % cmd) print command