mirror of
https://github.com/clearml/clearml-agent
synced 2025-02-07 13:26:08 +00:00
Fix git clone optimization
This commit is contained in:
parent
831b36c424
commit
741be2ae42
@ -533,7 +533,8 @@ def clone_repository_cached(session, execution, destination):
|
||||
else:
|
||||
print("cloning: {}".format(no_password_url))
|
||||
rm_tree(cached_repo_path)
|
||||
vcs.clone(branch=execution.branch)
|
||||
# We clone the entire repository, not a specific branch
|
||||
vcs.clone() # branch=execution.branch)
|
||||
|
||||
vcs.pull()
|
||||
vcs.checkout()
|
||||
|
Loading…
Reference in New Issue
Block a user