[poky] [PATCH] bitbake/fetch2/git: report actual command used instead of summary
Koen Kooi
koen at dominion.thruhere.net
Mon Feb 7 00:27:17 PST 2011
This makes it easier to manually replay commands when debugging
Before:
Fetcher accessed the network with the command git clone --bare github.com/wrpseudo/pseudo.git
After:
Fetcher accessed the network with the command git clone --bare git://github.com/wrpseudo/pseudo.git /OE/downloads/git2/github.com.wrpseudo.pseudo.git
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
bitbake/lib/bb/fetch2/git.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index a4a1278..c13bac9 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -116,7 +116,7 @@ class Git(Fetch):
# If the repo still doesn't exist, fallback to cloning it
if not os.path.exists(ud.clonedir):
- bb.fetch2.check_network_access(d, "git clone --bare %s%s" % (ud.host, ud.path))
+ bb.fetch2.check_network_access(d, "%s clone --bare %s://%s%s%s %s" % (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.clonedir))
runfetchcmd("%s clone --bare %s://%s%s%s %s" % (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.clonedir), d)
os.chdir(ud.clonedir)
--
1.6.6.1
More information about the poky
mailing list