From f8508deb012b8bd53150818c706aa6032b3e1b20 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 15 Jan 2016 15:01:41 +0000 Subject: 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 --- bitbake/lib/bb/fetch2/git.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bitbake/lib/bb/fetch2/git.py') diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index e6789bc840..0513348a18 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py @@ -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): -- cgit v1.2.3-54-g00ecf