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

login
register
mail settings
Submitter Andrei Gherzan
Date July 10, 2012, 9:34 p.m.
Message ID <885b63f823a958182f18db1678b9676e5b3d4adc.1341955881.git.andrei@gherzan.ro>
Download mbox | patch
Permalink /patch/31725/
State New
Headers show

Comments

Andrei Gherzan - July 10, 2012, 9:34 p.m.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 bitbake/lib/bb/fetch2/hg.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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":