diff --git a/master.cfg b/master.cfg index 379e953..9402102 100644 --- a/master.cfg +++ b/master.cfg @@ -149,7 +149,8 @@ def SendRootMessageGDBTesters (branch, change, rev, istrysched = False, try_to = None, try_count = "0", - try_msgid = ""): + try_msgid = None, + try_comment = None): global GDB_MAIL_TO, GDB_MAIL_FROM if istrysched: @@ -184,7 +185,7 @@ def SendRootMessageGDBTesters (branch, change, rev, text += "Branch: %s\n" % branch text += "Commit tested against: %s\n\n" % rev - text += '\n'.join (change.comments.split ('\n')) + text += try_comment text += '\n' @@ -444,12 +445,14 @@ send to the gdb-testers mailing list.""" isrebuild = properties.getProperty ('isRebuild') try_count = properties.getProperty ('try_count') try_msgid = properties.getProperty ('root_message_id') + try_comment = sourcestamp.patch_info[1] try_to = build.getReason ().strip ("'try' job by user ") # Sending the root message to gdb-testers. SendRootMessageGDBTesters (branch, cur_change, properties.getProperty ('revision'), istrysched = True, try_to = try_to, - try_count = try_count, try_msgid = try_msgid) + try_count = try_count, try_msgid = try_msgid, + try_comment = try_comment) # Subject subj = "Try Build #%s on %s, branch %s" % (try_count, name, branch)