summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-26 08:39:57 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-26 08:39:57 +0000
commiteb7cc8a967c50abc875497fe9410c16206e51b78 (patch)
tree22912edc04724b93614eef83049247714e7de2f4
parent2c13e1b5b5fd442c3d0baa3391a49054df03392d (diff)
downloadpoky-eb7cc8a967c50abc875497fe9410c16206e51b78.tar.gz
bitbake git.py: Always use tag param from URI if specified
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2791 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--bitbake/lib/bb/fetch/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 0b04840bf7..7d55ee9138 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -51,7 +51,7 @@ class Git(Fetch):
51 ud.proto = ud.parm['protocol'] 51 ud.proto = ud.parm['protocol']
52 52
53 tag = data.getVar("SRCREV", d, 0) 53 tag = data.getVar("SRCREV", d, 0)
54 if 'tag' in ud.parm and len(ud.parm['tag']) == 40: 54 if 'tag' in ud.parm:
55 ud.tag = ud.parm['tag'] 55 ud.tag = ud.parm['tag']
56 elif tag and "get_srcrev" not in tag and len(tag) == 40: 56 elif tag and "get_srcrev" not in tag and len(tag) == 40:
57 ud.tag = tag 57 ud.tag = tag