[bitbake-devel] [PATCH] Fix mercurial fetcher in fetch2
Julian Pidancet
julian.pidancet at gmail.com
Wed Sep 21 01:14:54 UTC 2011
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.
Signed-off-by: Julian Pidancet <julian.pidancet at gmail.com>
---
lib/bb/fetch2/hg.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/bb/fetch2/hg.py b/lib/bb/fetch2/hg.py
index 793831a..ad6e85d 100644
--- a/lib/bb/fetch2/hg.py
+++ b/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):
--
1.7.3.4
More information about the bitbake-devel
mailing list