summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMartin Ertsaas <mertsas@cisco.com>2012-07-19 13:26:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-24 10:35:33 +0100
commit8a978eeda0ec3daa124513b6c132bba68fdbff2b (patch)
tree2abafe96f145b620a5467a0ea7d2fad3ac002940 /bitbake
parent897d7d171e3470a1299ad6294988408e30ea8cd3 (diff)
downloadpoky-8a978eeda0ec3daa124513b6c132bba68fdbff2b.tar.gz
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 <mertsas@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/bzr.py2
1 files changed, 1 insertions, 1 deletions
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):
73 options.append("-r %s" % ud.revision) 73 options.append("-r %s" % ud.revision)
74 74
75 if command == "fetch": 75 if command == "fetch":
76 bzrcmd = "%s co %s %s://%s" % (basecmd, " ".join(options), proto, bzrroot) 76 bzrcmd = "%s branch %s %s://%s" % (basecmd, " ".join(options), proto, bzrroot)
77 elif command == "update": 77 elif command == "update":
78 bzrcmd = "%s pull %s --overwrite" % (basecmd, " ".join(options)) 78 bzrcmd = "%s pull %s --overwrite" % (basecmd, " ".join(options))
79 else: 79 else: