summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2013-11-25 12:41:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-25 13:02:27 +0000
commit0aef540dd8866c5d76dd1edd8936343258935c47 (patch)
treed7249e8ff61593ed58fa8dc43272cddef2231f6d /bitbake
parent64372fa027713f793d6f67981c59e239e969a855 (diff)
downloadpoky-0aef540dd8866c5d76dd1edd8936343258935c47.tar.gz
bitbake: fetch2: Correct a few calls to latest_revision()
In 6a48474de9505a3700863f31839a7c53c5e18a8d the url parameter to a number of functions was removed. However, not all calls to latest_revision() were fixed... (Bitbake rev: 7c94ca56b2fd85a989089f58b3dcce3172a778f2) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/bzr.py2
-rw-r--r--bitbake/lib/bb/fetch2/hg.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py
index 3caaa6fca9..03e9ac461b 100644
--- a/bitbake/lib/bb/fetch2/bzr.py
+++ b/bitbake/lib/bb/fetch2/bzr.py
@@ -48,7 +48,7 @@ class Bzr(FetchMethod):
48 ud.setup_revisons(d) 48 ud.setup_revisons(d)
49 49
50 if not ud.revision: 50 if not ud.revision:
51 ud.revision = self.latest_revision(ud.url, ud, d) 51 ud.revision = self.latest_revision(ud, d)
52 52
53 ud.localfile = data.expand('bzr_%s_%s_%s.tar.gz' % (ud.host, ud.path.replace('/', '.'), ud.revision), d) 53 ud.localfile = data.expand('bzr_%s_%s_%s.tar.gz' % (ud.host, ud.path.replace('/', '.'), ud.revision), d)
54 54
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index 76810abb7d..6927f6111e 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -62,7 +62,7 @@ class Hg(FetchMethod):
62 if 'rev' in ud.parm: 62 if 'rev' in ud.parm:
63 ud.revision = ud.parm['rev'] 63 ud.revision = ud.parm['rev']
64 elif not ud.revision: 64 elif not ud.revision:
65 ud.revision = self.latest_revision(ud.url, ud, d) 65 ud.revision = self.latest_revision(ud, d)
66 66
67 ud.localfile = data.expand('%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision), d) 67 ud.localfile = data.expand('%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision), d)
68 68