mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
bitbake: Revert "fetch/git: Change to use clearer ssh url syntax for broken servers"
This reverts commit 4193e99adce8e88f12ac88d7578ad39575f7e346. It seems the underlying issue was caused by ":" in the url which isn't supported. The patch was therefore incorrect. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -331,10 +331,6 @@ class Git(FetchMethod):
|
||||
username = ud.user + '@'
|
||||
else:
|
||||
username = ""
|
||||
if ud.proto == "ssh":
|
||||
# Some servers, e.g. bitbucket.org can't cope with ssh://
|
||||
# and removing that means we need a : before path.
|
||||
return "%s%s:%s" % (username, ud.host, ud.path)
|
||||
return "%s://%s%s%s" % (ud.proto, username, ud.host, ud.path)
|
||||
|
||||
def _revision_key(self, ud, d, name):
|
||||
|
||||
Reference in New Issue
Block a user