summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/buildhistory.bbclass12
1 files changed, 1 insertions, 11 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 62d0d781a1..e43e71f90f 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -934,22 +934,12 @@ def _get_srcrev_values(d):
934 if urldata[u].method.supports_srcrev(): 934 if urldata[u].method.supports_srcrev():
935 scms.append(u) 935 scms.append(u)
936 936
937 autoinc_templ = 'AUTOINC+'
938 dict_srcrevs = {} 937 dict_srcrevs = {}
939 dict_tag_srcrevs = {} 938 dict_tag_srcrevs = {}
940 for scm in scms: 939 for scm in scms:
941 ud = urldata[scm] 940 ud = urldata[scm]
942 for name in ud.names: 941 for name in ud.names:
943 try: 942 autoinc, rev = ud.method.sortable_revision(ud, d, name)
944 rev = ud.method.sortable_revision(ud, d, name)
945 except TypeError:
946 # support old bitbake versions
947 rev = ud.method.sortable_revision(scm, ud, d, name)
948 # Clean this up when we next bump bitbake version
949 if type(rev) != str:
950 autoinc, rev = rev
951 elif rev.startswith(autoinc_templ):
952 rev = rev[len(autoinc_templ):]
953 dict_srcrevs[name] = rev 943 dict_srcrevs[name] = rev
954 if 'tag' in ud.parm: 944 if 'tag' in ud.parm:
955 tag = ud.parm['tag']; 945 tag = ud.parm['tag'];