From 2a1e8b3e288dcebc44d13be2493f8fbf58159b5a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 17 Mar 2006 09:47:14 +0000 Subject: [PATCH 1/1] 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 --- lib/bb/fetch/svn.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.7.4