summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
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 /bitbake/lib/bb
parent863f43a093a40c766f39dada36bb9fdb998bf6f9 (diff)
downloadpoky-bcfff457f63f43f53bcaf04f116e09bb2bba9bd6.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb')
-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):
166 output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d) 166 output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d)
167 return output.strip() 167 return output.strip()
168 168
169 def _build_revision(self, url, ud, d): 169 def _build_revision(self, url, ud, d, name):
170 return ud.revision 170 return ud.revision
171 171
172 def _revision_key(self, url, ud, d, name): 172 def _revision_key(self, url, ud, d, name):