diff options
author | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2007-01-23 22:03:08 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2007-01-23 22:03:08 +0000 |
commit | b068bb53caf9227dac1341cb8d5f4dac1b57bbf8 (patch) | |
tree | a32ad9f5fcef1b637ea81dff9050012bd1f265f7 /lib/bb/fetch | |
parent | eff447767819401f54ce20e4019962959c9f86c5 (diff) | |
download | bitbake-b068bb53caf9227dac1341cb8d5f4dac1b57bbf8.tar.gz |
fetch/svn.py: use username/password when provided in SRC_URI - close OE#1781
Subversion will still ask if self-signed SSL certificate will be used.
Diffstat (limited to 'lib/bb/fetch')
-rw-r--r-- | lib/bb/fetch/svn.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bb/fetch/svn.py b/lib/bb/fetch/svn.py index 21be1412a..120f4f853 100644 --- a/lib/bb/fetch/svn.py +++ b/lib/bb/fetch/svn.py @@ -91,6 +91,12 @@ class Svn(Fetch): elif ud.date != "now": options.append("-r {%s}" % ud.date) + if ud.user: + options.append("--username %s" % ud.user) + + if ud.pswd: + options.append("--password %s" % ud.pswd) + localdata = data.createCopy(d) data.setVar('OVERRIDES', "svn:%s" % data.getVar('OVERRIDES', localdata), localdata) data.update_data(localdata) |