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-03 14:09:17 +0100 |
commit | 56c294dc30b6c2575b1cf904e26b8b8bef7677c2 (patch) | |
tree | f3c43e1f00ff853ad58b0f2063e92f02595fd2ee /lib/bb/fetch2/svn.py | |
parent | 54f1359ed2e9d47980cd221b7b43ef56543fe06d (diff) | |
download | bitbake-56c294dc30b6c2575b1cf904e26b8b8bef7677c2.tar.gz |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/svn.py')
-rw-r--r-- | lib/bb/fetch2/svn.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/fetch2/svn.py b/lib/bb/fetch2/svn.py index 884746191..1733c2beb 100644 --- a/lib/bb/fetch2/svn.py +++ b/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: |