Merge "don't clone a repo if it already exists"
This commit is contained in:
commit
c96599b87e
@ -56,6 +56,9 @@ def commit_exists(repo, ref):
|
||||
|
||||
def clone_repo(workdir, repo):
|
||||
"Check out the code."
|
||||
dest = os.path.join(workdir, repo)
|
||||
if os.path.exists(dest):
|
||||
return
|
||||
cmd = [
|
||||
'zuul-cloner',
|
||||
'--workspace', workdir,
|
||||
|
Loading…
Reference in New Issue
Block a user