[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 19:30:49 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
  parameter.
  (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
  parameter.
  (TextCommitRenderer._render_list,
  TextCommitRenderer._render_diffs): Accept the write function
  parameter.
  (generate_content): Pass the body_format parameter to the commit
  renderer. Place the new line character in front of each
  section.
  (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.
]]]

-- 
Ilguiz


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

Received on Mon Mar 13 02:57:38 2006

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