[[[ Make translation status report message threaded. * tools/po/l10n-report.py: Add "In-Reply-To:" and "References:" fields to the translation status report message, so we can view mail more clearly. ]]]
oracle@vc:~/vcs/svn/subversion/trunk/tools/po$ svn diff . Index: l10n-report.py =================================================================== --- l10n-report.py (revision 1080141) +++ l10n-report.py (working copy) @@ -43,6 +43,7 @@ FROM_ADDRESS = "Subversion Translation Status <nore...@subversion.apache.org>" LIST_ADDRESS = "dev@subversion.apache.org" SUBJECT_TEMPLATE = "[l10n] Translation status report for %s r%s" +MAIL_THREAD_ID = '<translation_status_report_for...@subversion.apache.org>' def _rev(): dollar = "$Revision$" @@ -204,6 +205,8 @@ msg["X-Mailer"] = "l10n-report.py r%s" % _rev() msg["Reply-To"] = LIST_ADDRESS msg["Mail-Followup-To"] = LIST_ADDRESS + msg["In-Reply-To"] = MAIL_THREAD_ID % (branch_name.replace('/', '_')) + msg["References"] = msg["In-Reply-To"] # http://www.iana.org/assignments/auto-submitted-keywords/auto-submitted-keywords.xhtml msg["Auto-Submitted"] = 'auto-generated' msg.set_type("text/plain") -- Dongsheng