From: Richard Purdie Date: Fri, 15 Jan 2016 15:01:41 +0000 (+0000) Subject: Revert "fetch/git: Change to use clearer ssh url syntax for broken servers" X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=614ad800ae523250fa77899d897ea1a77866f822;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. --- diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index e6789bc8408..0513348a18e 100644 --- a/lib/bb/fetch2/git.py +++ b/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):