Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Wenlin Kang <wenlin.kang@windriver.com>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] fetch2/svn.py: fix Unable to fetch URL bug
Date: Mon, 02 Jun 2014 20:30:26 -0700	[thread overview]
Message-ID: <538D4152.5030308@linux.intel.com> (raw)
In-Reply-To: <1401760525-17167-1-git-send-email-wenlin.kang@windriver.com>

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@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)
>


  reply	other threads:[~2014-06-03  3:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-03  1:55 [PATCH] fetch2/svn.py: fix Unable to fetch URL bug Wenlin Kang
2014-06-03  3:30 ` Saul Wold [this message]
2014-06-03  7:13   ` Wenlin Kang
2014-06-11  8:18     ` Wenlin Kang
2014-06-23  7:22       ` Wenlin Kang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538D4152.5030308@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=wenlin.kang@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox