Improving fetching of commit ID

This commit is contained in:
Sergio Durigan Junior 2015-01-15 01:43:34 -05:00
parent ca5926ced8
commit 1519a40808

View file

@ -146,9 +146,11 @@ send to the gdb-testers mailing list."""
# URL to find more info about what went wrong. # URL to find more info about what went wrong.
text += "Log URL(s):\n" text += "Log URL(s):\n"
for ss in ss_list: for ss in ss_list:
text += "\t<%s/%s/.git/tree/?id=%s>\n" % (git_url, name, commit_id = get_builder_commit_id (name, ss.revision)
get_builder_commit_id (name, if commit_id:
ss.revision)) text += "\t<%s/%s/.git/tree/?id=%s>\n" % (git_url, name, commit_id)
else:
text += "\t<Error fetching commit ID for %s>\n" % ss.revision
# text += "\t<%s/%s/.git/log/?qt=grep&q=%s>\n" % (git_url, name, ss.revision) # text += "\t<%s/%s/.git/log/?qt=grep&q=%s>\n" % (git_url, name, ss.revision)
# text += "\t<%sresults/%s/%s>\n" % (master_status.getBuildbotURL (), name, ss.revision) # text += "\t<%sresults/%s/%s>\n" % (master_status.getBuildbotURL (), name, ss.revision)