summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 11:39:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-04 09:28:36 +0100
commita5531a2b8983318b99c119a87b78a92cf84160b8 (patch)
treed0150d7bfd498f63a520ca40323f9c13ec96dbb4 /bitbake/lib/bb/fetch2
parent053857479c5e9ab394e07f2818abdf2e75f95121 (diff)
downloadpoky-a5531a2b8983318b99c119a87b78a92cf84160b8.tar.gz
bitbake: fetch2/svn: Add transportuser parameter1.7_M1
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r--bitbake/lib/bb/fetch2/svn.py3
1 files changed, 2 insertions, 1 deletions
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):
101 suffix = "@%s" % (ud.revision) 101 suffix = "@%s" % (ud.revision)
102 102
103 if command == "fetch": 103 if command == "fetch":
104 svncmd = "%s co %s %s://%s/%s%s %s" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module, suffix, ud.module) 104 transportuser = ud.parm.get("transportuser", "")
105 svncmd = "%s co %s %s://%s%s/%s%s %s" % (ud.basecmd, " ".join(options), proto, transportuser, svnroot, ud.module, suffix, ud.module)
105 elif command == "update": 106 elif command == "update":
106 svncmd = "%s update %s" % (ud.basecmd, " ".join(options)) 107 svncmd = "%s update %s" % (ud.basecmd, " ".join(options))
107 else: 108 else: