From bcfff457f63f43f53bcaf04f116e09bb2bba9bd6 Mon Sep 17 00:00:00 2001 From: Julian Pidancet Date: Wed, 21 Sep 2011 02:14:54 +0100 Subject: Fix mercurial fetcher in fetch2 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/hg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py index 793831a..ad6e85d 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): -- cgit v1.1