summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent20f032338ff3b4b25f2cbb7f975b5fd1c105004d (diff)
downloadpoky-330bd591ec6a7badbff0b1e7e7d7dfdd248a9afb.tar.gz
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')
-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):
145 145
146 if not ("externals" in ud.parm and ud.parm["externals"] == "nowarn"): 146 if not ("externals" in ud.parm and ud.parm["externals"] == "nowarn"):
147 # Warn the user if this had externals (won't catch them all) 147 # Warn the user if this had externals (won't catch them all)
148 output = runfetchcmd("svn propget svn:externals", d, workdir=ud.moddir) 148 output = runfetchcmd("svn propget svn:externals || true", d, workdir=ud.moddir)
149 if output: 149 if output:
150 if "--ignore-externals" in svnfetchcmd.split(): 150 if "--ignore-externals" in svnfetchcmd.split():
151 bb.warn("%s contains svn:externals." % ud.url) 151 bb.warn("%s contains svn:externals." % ud.url)