Skip to contentSkip to conversation

Fix parsing revision of SVN repos with redirects

PATCH New Harald Brinkmann 1 participant 1 message May 5, 2021

lore
Share & tools
lore
#0 lore raw

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.

---
 bitbake/lib/bb/fetch2/svn.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/fetch2/svn.py +1 -1
index 971a5add4a..5c305c4a75 100644
@@ -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