summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Pidancet <julian.pidancet@gmail.com>2011-09-21 02:14:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-21 14:07:31 +0100
commitbcfff457f63f43f53bcaf04f116e09bb2bba9bd6 (patch)
tree571d097d893a9568802d57e61fe931eb6a2aae7f
parent863f43a093a40c766f39dada36bb9fdb998bf6f9 (diff)
downloadpoky-bcfff457f63f43f53bcaf04f116e09bb2bba9bd6.tar.gz
poky-bcfff457f63f43f53bcaf04f116e09bb2bba9bd6.tar.bz2
poky-bcfff457f63f43f53bcaf04f116e09bb2bba9bd6.zip
Fix mercurial fetcher in fetch21.1_M4.rc3
The _build_revision method in Hg class gets called with the wrong number of arguments. This tiny patch adds a 5th argument to the method declaration to prevent python from throwing an exception. (Bitbake rev: 623e9c7f7a9cf12b8c81c26cc608990682a601dd) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch2/hg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index 793831ae0d..ad6e85d70b 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -166,7 +166,7 @@ class Hg(FetchMethod):
output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d)
return output.strip()
- def _build_revision(self, url, ud, d):
+ def _build_revision(self, url, ud, d, name):
return ud.revision
def _revision_key(self, url, ud, d, name):