lib/bb/fetch.py:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 17 Mar 2006 09:47:14 +0000 (09:47 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 17 Mar 2006 09:47:14 +0000 (09:47 +0000)
-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

index 1df38f9..6e3a927 100644 (file)
@@ -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)