mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
hg fetcher: Apply fixes from Matt Hoosier
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5153 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user