diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 11:39:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-04 09:28:36 +0100 |
commit | a5531a2b8983318b99c119a87b78a92cf84160b8 (patch) | |
tree | d0150d7bfd498f63a520ca40323f9c13ec96dbb4 /bitbake | |
parent | 053857479c5e9ab394e07f2818abdf2e75f95121 (diff) | |
download | openembedded-core-contrib-a5531a2b8983318b99c119a87b78a92cf84160b8.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/svn.py | 3 |
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): 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: |