[OE-core] [PATCH] fetch2/svn.py: fix Unable to fetch URL bug

Saul Wold sgw at linux.intel.com
Tue Jun 3 03:30:26 UTC 2014


On 06/02/2014 06:55 PM, Wenlin Kang wrote:
> For svn source, when download a revsion on branches, if the download
> revsion < the branch created time revsion, then it will fail.
>

> The detail description reference the Yocto Project bugzilla, please see:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=6258
>
> Signed-off-by: Wenlin Kang <wenlin.kang at windriver.com>
> ---
>   lib/bb/fetch2/svn.py |    3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lib/bb/fetch2/svn.py b/lib/bb/fetch2/svn.py
> index 8847461..75e21df 100644
> --- a/lib/bb/fetch2/svn.py
> +++ b/lib/bb/fetch2/svn.py
> @@ -98,7 +98,8 @@ class Svn(FetchMethod):
>               suffix = ""
>               if ud.revision:
>                   options.append("-r %s" % ud.revision)
> -                suffix = "@%s" % (ud.revision)
> +                #follow this line can make the fetch fail when download a revsion on branches if the download revsion < the branch created time revsion.
> +                #suffix = "@%s" % (ud.revision)
>
Will this cause other failures if there versions requests at a specific 
revision?  can you detail how you tested this?


>               if command == "fetch":
>                   svncmd = "%s co %s %s://%s/%s%s %s" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module, suffix, ud.module)
>



More information about the Openembedded-core mailing list