From e1af8defd6fce62a339e75c6cea11491ffc43b6c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 7 Sep 2008 10:47:54 +0000 Subject: hg fetcher: Apply fixes from Matt Hoosier git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5153 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/lib/bb/fetch/hg.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/fetch/hg.py b/bitbake/lib/bb/fetch/hg.py index ee3bd2f7f..c7d2e62c1 100644 --- a/bitbake/lib/bb/fetch/hg.py +++ b/bitbake/lib/bb/fetch/hg.py @@ -79,7 +79,10 @@ class Hg(Fetch): host = "/" ud.host = "localhost" - hgroot = host + ud.path + if ud.user == None: + hgroot = host + ud.path + else: + hgroot = ud.user + "@" + host + ud.path if command is "info": return "%s identify -i %s://%s/%s" % (basecmd, proto, hgroot, ud.module) -- cgit v1.2.3