From: Holger Hans Peter Freyther Date: Fri, 17 Mar 2006 09:47:14 +0000 (+0000) Subject: lib/bb/fetch.py: X-Git-Tag: 1.4.2~64 X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_bitbake;a=commitdiff_plain;h=2a1e8b3e288dcebc44d13be2493f8fbf58159b5a;hp=069d1b9c2b1c56c022e89d7205a082009f529878 lib/bb/fetch.py: -svn_rsh was used, but the code was unreachable leading to runtime errors -now if the proto is svn+ssh, honor rsh parameter of the URL --- diff --git a/lib/bb/fetch/svn.py b/lib/bb/fetch/svn.py index 1df38f9..6e3a927 100644 --- a/lib/bb/fetch/svn.py +++ b/lib/bb/fetch/svn.py @@ -103,6 +103,10 @@ class Svn(Fetch): else: proto = "svn" + svn_rsh = None + if proto == "svn+ssh" and "rsh" in parm: + svn_rsh = parm["rsh"] + tarfn = data.expand('%s_%s_%s_%s_%s.tar.gz' % (module.replace('/', '.'), host, path.replace('/', '.'), revision, date), localdata) data.setVar('TARFILES', dlfile, localdata) data.setVar('TARFN', tarfn, localdata)