mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02: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:
parent
b567235c0c
commit
f8508deb01
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user