From 645107a8055d3fe9a82dcff97ace7deaade9a9ce Mon Sep 17 00:00:00 2001 From: Marc LeBlanc Date: Wed, 13 Mar 2024 06:04:12 +0300 Subject: [PATCH] Fixing TypeError can only join an iterable --- repo-converter/build/run.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/repo-converter/build/run.py b/repo-converter/build/run.py index 820552d..0175a98 100644 --- a/repo-converter/build/run.py +++ b/repo-converter/build/run.py @@ -355,7 +355,7 @@ def clone_svn_repos(): try: previous_batch_end_revision = subprocess_run(cmd_cfg_git_get_batch_end_revision)[0] except Exception as exception: - previous_batch_end_revision = "" + previous_batch_end_revision = "1" if previous_batch_end_revision == last_changed_rev: @@ -400,6 +400,10 @@ def clone_svn_repos(): # Initialize the repo subprocess_run(cmd_run_git_svn_init, password, arg_svn_echo_password) + # Initialize this config with a 0 value + cmd_cfg_git_set_batch_end_revision.append(str(0)) + subprocess_run(cmd_cfg_git_set_batch_end_revision) + # Configure the bare clone # Testing without the bare clone to see if branching works easier # and because I forget why a bare clone was needed