summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@bmw.de>2019-09-16 10:14:50 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-18 17:52:01 +0100
commit330bd591ec6a7badbff0b1e7e7d7dfdd248a9afb (patch)
tree1661ca802ac424d0731b5b8e71fec4071bfdd169 /bitbake/lib/bb
parent20f032338ff3b4b25f2cbb7f975b5fd1c105004d (diff)
downloadpoky-330bd591ec6a7badbff0b1e7e7d7dfdd248a9afb.tar.gz
poky-330bd591ec6a7badbff0b1e7e7d7dfdd248a9afb.tar.bz2
poky-330bd591ec6a7badbff0b1e7e7d7dfdd248a9afb.zip
bitbake: svn fetcher: allow "svn propget svn:externals" to fail
Not all servers and repositories have this property set which results in failures like this when actual svn checkout command succeeded: svn: warning: W200017: Property 'svn:externals' not found on '' svn: E200000: A problem occurred; see other errors for details (Bitbake rev: 238636f033cbf18e5741f0ea0e64db40e84f5838) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch2/svn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py
index 59ce93160c..96d666ba33 100644
--- a/bitbake/lib/bb/fetch2/svn.py
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -145,7 +145,7 @@ class Svn(FetchMethod):
if not ("externals" in ud.parm and ud.parm["externals"] == "nowarn"):
# Warn the user if this had externals (won't catch them all)
- output = runfetchcmd("svn propget svn:externals", d, workdir=ud.moddir)
+ output = runfetchcmd("svn propget svn:externals || true", d, workdir=ud.moddir)
if output:
if "--ignore-externals" in svnfetchcmd.split():
bb.warn("%s contains svn:externals." % ud.url)