Fixed missing proto param in hg checkout with user and pw
Attached a fix for the former patch when checking out a repository with username and password using HG
(Hopefully this is the last time, sorry for not having test my former one properly before posting)
Regards,
Volker
From 5834eb8675c0d0b9e622e2ce9473ec36220dee2a Mon Sep 17 00:00:00 2001
From: Volker Vogelhuber <[email protected]>
Date: Mon, 26 May 2014 09:22:03 +0200
Subject: [PATCH 1/1] - fixed missing proto param for hg checkout with user and
pw
Signed-off-by Volker Vogelhuber <[email protected]>
--- bitbake/lib/bb/fetch2/hg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/fetch2/hg.py +1 -1
@@ -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":
Signature · 1 line
1.9.1