fetch2/svn: Add transportuser parameter
PATCH 1/1 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 <[email protected]>
bitbake/lib/bb/fetch2/svn.py +2 -1
@@ -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: