Openembedded Bitbake Development
 help / color / mirror / Atom feed
From: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>
To: <bitbake-devel@lists.openembedded.org>
Subject: Fixed missing proto param in hg checkout with user and pw
Date: Mon, 26 May 2014 09:25:10 +0200	[thread overview]
Message-ID: <5382EC56.5090701@digitalendoscopy.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

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

[-- Attachment #2: 0001-fixed-missing-proto-param-for-hg-checkout-with-user-.patch --]
[-- Type: text/x-patch, Size: 1460 bytes --]

From 5834eb8675c0d0b9e622e2ce9473ec36220dee2a Mon Sep 17 00:00:00 2001
From: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>
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 <v.vogelhuber@digitalendoscopy.de>
---
 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 157b1b1..5760fcd 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":
-- 
1.9.1


                 reply	other threads:[~2014-05-26  7:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5382EC56.5090701@digitalendoscopy.de \
    --to=v.vogelhuber@digitalendoscopy.de \
    --cc=bitbake-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox