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:
Richard Purdie 2016-01-15 15:01:41 +00:00
parent b567235c0c
commit f8508deb01

View File

@ -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):