From 8a978eeda0ec3daa124513b6c132bba68fdbff2b Mon Sep 17 00:00:00 2001 From: Martin Ertsaas Date: Thu, 19 Jul 2012 13:26:25 +0200 Subject: bitbake: Change bzr fetcher to use branch instead of co. Fixes: bzr: ERROR: No pull location known or specified. 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. (Bitbake rev: 877a04d0b3cea9d5dbdf3c54fe0feb54cb997dda) Signed-off-by: Martin Ertsaas Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/bzr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py index 97daa620f4..58e80c81f6 100644 --- a/bitbake/lib/bb/fetch2/bzr.py +++ b/bitbake/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: -- cgit v1.2.3-54-g00ecf