[DEBUG] correct the sync with ssh interface
This commit is contained in:
parent
49874b7785
commit
1a7129d632
@ -65,9 +65,10 @@ def execute(arguments):
|
||||
# this is a new clone ==> this is easy ...
|
||||
#clone the manifest repository
|
||||
address_manifest = ""
|
||||
|
||||
### example git@git.plouf.com:basic_folder
|
||||
cmd = "git clone " + elem.select_remote["fetch"]
|
||||
if elem.select_remote["fetch"][0:4] == "git@":
|
||||
if elem.select_remote["fetch"][0:4] == "git@" \
|
||||
and len(elem.select_remote["fetch"][4:].split(":")) <= 1:
|
||||
cmd += ":"
|
||||
else:
|
||||
cmd += "/"
|
||||
|
Loading…
Reference in New Issue
Block a user