summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/svn.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 10:39:34 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-04 08:28:36 (GMT)
commita5531a2b8983318b99c119a87b78a92cf84160b8 (patch)
treed0150d7bfd498f63a520ca40323f9c13ec96dbb4 /bitbake/lib/bb/fetch2/svn.py
parent053857479c5e9ab394e07f2818abdf2e75f95121 (diff)
downloadpoky-10b98854e19ffffaf7aabb3e67b9a61fb53d2330.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/svn.py')
-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 8847461..1733c2b 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: