From 7c084c2513d8028e2c1cd6a3a7b749caf2b3aa9f Mon Sep 17 00:00:00 2001 From: Mikko Rapeli Date: Mon, 16 Sep 2019 10:14:50 +0300 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/svn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-54-g00ecf