* [PATCH] Fix parsing revision of SVN repos with redirects
@ 2021-05-04 10:52 harald.brinkmann
2021-05-04 15:40 ` [oe] " Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: harald.brinkmann @ 2021-05-04 10:52 UTC (permalink / raw)
To: openembedded-devel
svn was printing a message when encountering HTTP redirects.
This confused the revision parser.
Signed-off-by: Harald Brinkmann <Harald.Brinkmann@detectomat.com>
---
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 971a5add4a..5c305c4a75 100644
--- a/bitbake/lib/bb/fetch2/svn.py
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -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 = ""
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [oe] [PATCH] Fix parsing revision of SVN repos with redirects
2021-05-04 10:52 [PATCH] Fix parsing revision of SVN repos with redirects harald.brinkmann
@ 2021-05-04 15:40 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2021-05-04 15:40 UTC (permalink / raw)
To: Harald Brinkmann; +Cc: openembeded-devel
please send it to bitbake-devel mailing list.
On Tue, May 4, 2021 at 3:52 AM Harald Brinkmann
<harald.brinkmann@detectomat.com> wrote:
>
> svn was printing a message when encountering HTTP redirects.
> This confused the revision parser.
>
> Signed-off-by: Harald Brinkmann <Harald.Brinkmann@detectomat.com>
> ---
> 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 971a5add4a..5c305c4a75 100644
> --- a/bitbake/lib/bb/fetch2/svn.py
> +++ b/bitbake/lib/bb/fetch2/svn.py
> @@ -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 = ""
>
> --
> 2.26.2
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-04 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 10:52 [PATCH] Fix parsing revision of SVN repos with redirects harald.brinkmann
2021-05-04 15:40 ` [oe] " Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.