bitbake/lib/bb/fetch/svn:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 16 Mar 2006 23:41:59 +0000 (23:41 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 16 Mar 2006 23:41:59 +0000 (23:41 +0000)
    Remove the CVS origin from the SVN fetcher. ext and pserver
    are not used by subversion.

lib/bb/fetch/svn.py

index 1d06923..1df38f9 100644 (file)
@@ -98,21 +98,11 @@ class Svn(Fetch):
 
             date = Fetch.getSRCDate(d)
 
-            if "method" in parm:
-                method = parm["method"]
-            else:
-                method = "pserver"
-
             if "proto" in parm:
                 proto = parm["proto"]
             else:
                 proto = "svn"
 
-            svn_rsh = None
-            if method == "ext":
-                if "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)
@@ -129,10 +119,6 @@ class Svn(Fetch):
             olddir = os.path.abspath(os.getcwd())
             os.chdir(data.expand(dldir, localdata))
 
-#           setup svnroot
-#            svnroot = ":" + method + ":" + user
-#            if pswd:
-#                svnroot += ":" + pswd
             svnroot = host + path
 
             data.setVar('SVNROOT', svnroot, localdata)