From 5ca928543401f641f813d54ebdd3b8e24a9aa573 Mon Sep 17 00:00:00 2001 From: Volker Vogelhuber Date: Mon, 26 May 2014 09:22:03 +0200 Subject: bitbake: fetch2/hg: Fix missing proto param for hg checkout with user and pw A fix for the former patch when checking out a repository with username and password using HG (Bitbake rev: 6e7f7cdc0d533911046741817be1cfffde23f125) Signed-off-by: Volker Vogelhuber 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 157b1b1d8b..5760fcdc58 100644 --- a/bitbake/lib/bb/fetch2/hg.py +++ b/bitbake/lib/bb/fetch2/hg.py @@ -111,7 +111,7 @@ class Hg(FetchMethod): if command == "fetch": if ud.user and ud.pswd: - cmd = "%s --config auth.default.prefix=* --config auth.default.username=%s --config auth.default.password=%s --config \"auth.default.schemes=%s\" clone %s %s://%s/%s %s" % (basecmd, ud.user, ud.pswd, " ".join(options), proto, hgroot, ud.module, ud.module) + cmd = "%s --config auth.default.prefix=* --config auth.default.username=%s --config auth.default.password=%s --config \"auth.default.schemes=%s\" clone %s %s://%s/%s %s" % (basecmd, ud.user, ud.pswd, proto, " ".join(options), proto, hgroot, ud.module, ud.module) else: cmd = "%s clone %s %s://%s/%s %s" % (basecmd, " ".join(options), proto, hgroot, ud.module, ud.module) elif command == "pull": -- cgit v1.2.3-54-g00ecf