Including branch name in email log

This commit is contained in:
Sergio Durigan Junior 2015-01-23 22:03:05 -05:00
parent 2d73e65bd4
commit 62bc15aa03

View file

@ -171,7 +171,8 @@ send to the gdb-testers mailing list."""
for ss in ss_list: for ss in ss_list:
commit_id = get_builder_commit_id (name, ss.revision, ss.branch) commit_id = get_builder_commit_id (name, ss.revision, ss.branch)
if commit_id: if commit_id:
text += "\t<%s/%s/.git/tree/?id=%s>\n" % (git_url, name, commit_id) text += "\t<%s/%s/.git/tree/?h=%s&id=%s>\n" % (git_url, name, quote (ss.branch),
commit_id)
else: else:
text += "\t<Error fetching commit ID for %s>\n" % ss.revision text += "\t<Error fetching commit ID for %s>\n" % ss.revision