From bfed3ccf4d93674d54b461d0c8d4dcebd287a559 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Mon, 7 Feb 2022 20:03:08 +0200 Subject: [PATCH] Fix agent attempts to check out code when in standalone mode --- clearml_agent/helper/repo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clearml_agent/helper/repo.py b/clearml_agent/helper/repo.py index cc83dbe..fa0c8d6 100644 --- a/clearml_agent/helper/repo.py +++ b/clearml_agent/helper/repo.py @@ -673,9 +673,9 @@ def clone_repository_cached(session, execution, destination): ) ) - # checkout in the newly copy destination - vcs.location = Text(clone_folder) - vcs.checkout() + # checkout in the newly copy destination + vcs.location = Text(clone_folder) + vcs.checkout() repo_info = vcs.get_repository_copy_info(clone_folder)