Fix parsing revision of SVN repos with redirects
PATCH 1/1 Fix parsing revision of SVN repos with redirects
svn was printing a message when encountering HTTP redirects. This confused the revision parser.
Signed-off-by Harald Brinkmann <[email protected]>
--- bitbake/lib/bb/fetch2/svn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/fetch2/svn.py +1 -1
@@ -86,7 +86,7 @@ class Svn(FetchMethod): if command == "info": svncmd = "%s info %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module) elif command == "log1": - svncmd = "%s log --limit 1 %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module) + svncmd = "%s log --limit 1 --quiet %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module) else: suffix = ""
Signature · 1 line
2.26.2