summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-20 14:58:00 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-20 14:58:00 +0000
commit05c49eaac2d5bb58929b69cbd67dc4fe62cc8a6d (patch)
treedb5a425d9ecf576f2c364c4861dc9fc7355c8228 /bitbake/lib/bb/fetch
parent079e6825aacec7ef9b3976c9057363b690a43ce5 (diff)
downloadopenembedded-core-05c49eaac2d5bb58929b69cbd67dc4fe62cc8a6d.tar.gz
openembedded-core-05c49eaac2d5bb58929b69cbd67dc4fe62cc8a6d.tar.bz2
openembedded-core-05c49eaac2d5bb58929b69cbd67dc4fe62cc8a6d.tar.xz
openembedded-core-05c49eaac2d5bb58929b69cbd67dc4fe62cc8a6d.zip
bitbake: Update to 1.8.10 release
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3555 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/git.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 9cc7f4e08..65ea5e5ca 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -131,8 +131,9 @@ class Git(Fetch):
return "git:" + ud.host + ud.path.replace('/', '.')
def _latest_revision(self, url, ud, d):
-
- bb.msg.note(1, bb.msg.domain.Fetcher, "Calling git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch ) )
+ """
+ Compute the HEAD revision for the url
+ """
output = runfetchcmd("git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch), d, True)
return output.split()[0]