[bitbake-devel] [PATCH-V2 3/5] fetch2/hg.py: Use "protocol" parameter to get the protocol

Andrei Gherzan andrei at gherzan.ro
Tue Jul 10 21:34:15 UTC 2012


Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
---
 bitbake/lib/bb/fetch2/hg.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index ad6e85d..155ae67 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -82,7 +82,7 @@ class Hg(FetchMethod):
 
         basecmd = data.expand('${FETCHCMD_hg}', d)
 
-        proto = ud.parm.get('proto', 'http')
+        proto = ud.parm.get('protocol', 'http')
 
         host = ud.host
         if proto == "file":
-- 
1.7.9.5





More information about the bitbake-devel mailing list