From a5531a2b8983318b99c119a87b78a92cf84160b8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 3 Jul 2014 11:39:34 +0100 Subject: bitbake: fetch2/svn: Add transportuser parameter There may be a need to set the user for the transport rather than the subversion command itself. Add a parameter to the url to allow this. [YOCTO #6475] (Bitbake rev: 56c294dc30b6c2575b1cf904e26b8b8bef7677c2) Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/svn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py index 8847461913..1733c2beb6 100644 --- a/bitbake/lib/bb/fetch2/svn.py +++ b/bitbake/lib/bb/fetch2/svn.py @@ -101,7 +101,8 @@ class Svn(FetchMethod): suffix = "@%s" % (ud.revision) if command == "fetch": - svncmd = "%s co %s %s://%s/%s%s %s" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module, suffix, ud.module) + transportuser = ud.parm.get("transportuser", "") + svncmd = "%s co %s %s://%s%s/%s%s %s" % (ud.basecmd, " ".join(options), proto, transportuser, svnroot, ud.module, suffix, ud.module) elif command == "update": svncmd = "%s update %s" % (ud.basecmd, " ".join(options)) else: -- cgit v1.2.3-54-g00ecf