svn: fix ssh subcommand type with missing space

This commit is contained in:
RhodeCode Admin 2025-12-03 13:38:44 +01:00
parent 849641a10a
commit 2f1aff604a
3 changed files with 19 additions and 8 deletions

View file

@ -234,15 +234,22 @@ class SshWrapper(object):
scm_detected, scm_repo, scm_mode = self.get_repo_details(mode)
log.debug(
'Mode: `%s` User: `name:%s : id:%s` Shell: `%s` SSH Command: `"%s"` '
"SCM_DETECTED: `%s` SCM Mode: `%s` SCM Repo: `%s`",
""
"mode:`%s` "
"user_name:`%s`"
"user_id:`%s`"
"shell: `%s` "
'ssh_command:`"%s"` '
"scm_mode:`%s` "
"scm_type:`%s` "
"scm_repo_name:`%s`",
mode,
username,
user_id,
shell,
self.command,
scm_detected,
scm_mode,
scm_detected,
scm_repo,
)

View file

@ -118,7 +118,7 @@ class SubversionTunnelWrapper(object):
ra_client = self._svn_bytes(response["ra_client"])
client = b" " + self._svn_bytes(response["client"]) or b""
buffer_ = b"( %b ( %b ) %b%b(%b) )" % (version, capabilities, url, ra_client, client)
buffer_ = b"( %b ( %b ) %b%b(%b) )%b" % (version, capabilities, url, ra_client, client, b" ")
return buffer_
def patch_first_client_response(self, response, **kwargs):