diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 15:01:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 15:01:41 +0000 |
commit | 614ad800ae523250fa77899d897ea1a77866f822 (patch) | |
tree | f3ef76aeb86285ca7e894d1991b8c92a485dc14d /lib/bb/fetch2 | |
parent | 2c91b77d62efa5c178e364a418b71eca83b5cacd (diff) | |
download | openembedded-core-contrib-614ad800ae523250fa77899d897ea1a77866f822.tar.gz |
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.
Diffstat (limited to 'lib/bb/fetch2')
-rw-r--r-- | lib/bb/fetch2/git.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index e6789bc840..0513348a18 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): |