* [PATCH] Fix mercurial fetcher in fetch2
@ 2011-09-21 1:14 Julian Pidancet
2011-09-21 13:08 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Julian Pidancet @ 2011-09-21 1:14 UTC (permalink / raw)
To: bitbake-devel, bitbake-devel; +Cc: Julian Pidancet
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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-21 13:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-21 1:14 [PATCH] Fix mercurial fetcher in fetch2 Julian Pidancet
2011-09-21 13:08 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.