summaryrefslogtreecommitdiffstats
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 11:52:03 +0100
commit7c084c2513d8028e2c1cd6a3a7b749caf2b3aa9f (patch)
tree34406ba31721dd6a58eec32ca55f16f80c87ce37
parent79a4732b961cabd42b4a3f179243a487e627baec (diff)
downloadpoky-7c084c2513d8028e2c1cd6a3a7b749caf2b3aa9f.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: a080b440935b0f4385d8344b176e68aec98fb580) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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)