projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eff4477
)
fetch/svn.py: use username/password when provided in SRC_URI - close OE#1781
author
Marcin Juszkiewicz
<marcin@juszkiewicz.com.pl>
Tue, 23 Jan 2007 22:03:08 +0000
(22:03 +0000)
committer
Marcin Juszkiewicz
<marcin@juszkiewicz.com.pl>
Tue, 23 Jan 2007 22:03:08 +0000
(22:03 +0000)
Subversion will still ask if self-signed SSL certificate will be used.
lib/bb/fetch/svn.py
patch
|
blob
|
history
diff --git
a/lib/bb/fetch/svn.py
b/lib/bb/fetch/svn.py
index
21be141
..
120f4f8
100644
(file)
--- 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)