[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] configurable format of email notifications

From: Ilguiz Latypov <ilatypov_at_infradead.org>
Date: 2006-03-08 22:38:08 CET

Fix issue #2499: configurable subject line in email notifications

* tools/hook-scripts/mailer/mailer.py
  (make_subject): Use the default subject content only as part of
  the formatted subject, according to the subject_format
  (OutputBase.run): Accept an optional parameter which is a
  function to write the output with.
  (PropChange.generate, Lock.generate, TextCommitRenderer.render):
  Compose the body of notification based on the body_format
  TextCommitRenderer._render_diffs): Accept the write function
  (generate_content): Pass the body_format parameter to the commit
  renderer. Place the new line character in front of each
  (format_body): New function.
  (Config.get): Ignore erroneous keys when expanding parameters.
  The complete value will remain unexpanded.
  (__main__.usage): Indicate values expected from standard input.
  (__main__): Fall back to the raw repoditory path when path
  canonicalization is not implemented.

* tools/hook-scripts/mailer/mailer.py
  Comment on configuring subject_format and body_format.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Mar 8 22:38:18 2006

This is an archived mail posted to the Subversion Dev mailing list.