From b5b46fdbb7346df04d3a840eac02a5bed089cbc3 Mon Sep 17 00:00:00 2001 From: Marc LeBlanc Date: Mon, 19 Feb 2024 16:31:55 +0300 Subject: [PATCH] Fixing echo password bug --- repo-converter/build/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo-converter/build/run.py b/repo-converter/build/run.py index 70c39f1..9756e3d 100644 --- a/repo-converter/build/run.py +++ b/repo-converter/build/run.py @@ -305,7 +305,7 @@ def clone_svn_repos(): arg_svn_non_interactive = [ "--non-interactive" ] # Do not prompt, just fail if the command doesn't work, not supported by all commands arg_svn_username = [ "--username", username ] arg_svn_password = [ "--password", password ] # Only used for direct `svn` command - arg_svn_echo_password = [ "echo", password, "|" ] # Used for git svn commands + arg_svn_echo_password = [ "echo", f"\"{password}\"", "|" ] # Used for git svn commands arg_svn_repo_code_root = [ svn_repo_code_root ] arg_git_cfg = [ "git", "-C", repo_path, "config" ] arg_git_svn = [ "git", "-C", repo_path, "svn" ]