All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Martin Ertsaas <mertsas@cisco.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH] Change bzr fetcher to use branch instead of co. Fixes: bzr: ERROR: No pull location known or specified.
Date: Tue, 24 Jul 2012 10:37:02 +0100	[thread overview]
Message-ID: <1343122622.22222.0.camel@ted> (raw)
In-Reply-To: <1342697185-7332-1-git-send-email-mertsas@cisco.com>

On Thu, 2012-07-19 at 13:26 +0200, Martin Ertsaas wrote:
> This problem occurs when fetching a different revision of the same source. Which mean every time you update a bzr package.
> Using branch sets the pull location, and are the preferred way of cloning/branching a repository in bzr.
> 
> Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
> ---
>  lib/bb/fetch2/bzr.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/bb/fetch2/bzr.py b/lib/bb/fetch2/bzr.py
> index 97daa62..58e80c8 100644
> --- a/lib/bb/fetch2/bzr.py
> +++ b/lib/bb/fetch2/bzr.py
> @@ -73,7 +73,7 @@ class Bzr(FetchMethod):
>                  options.append("-r %s" % ud.revision)
>  
>              if command == "fetch":
> -                bzrcmd = "%s co %s %s://%s" % (basecmd, " ".join(options), proto, bzrroot)
> +                bzrcmd = "%s branch %s %s://%s" % (basecmd, " ".join(options), proto, bzrroot)
>              elif command == "update":
>                  bzrcmd = "%s pull %s --overwrite" % (basecmd, " ".join(options))
>              else:

Merged to master, thanks.

Richard




      reply	other threads:[~2012-07-24  9:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 11:26 [PATCH] Change bzr fetcher to use branch instead of co. Fixes: bzr: ERROR: No pull location known or specified Martin Ertsaas
2012-07-24  9:37 ` Richard Purdie [this message]

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=1343122622.22222.0.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=mertsas@cisco.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 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.