bitbake: Update to 1.8.10 release

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3555 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-01-20 14:58:00 +00:00
parent 079e6825aa
commit 05c49eaac2
5 changed files with 11 additions and 6 deletions

View File

@@ -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]