Lars Müller <>

r863045, r862663

r862663 | cmpilato | 2006-12-06 15:35:39 +0000 (Wed, 06 Dec 2006)

Teach to generate emails on stdout in mbox format.

Patch by: Lars Müller <>

* tools/hook-scripts/
  (stdout): New.
  If in stdout mode, generate an mbox-complaint 'From' line, and spew
  mail contents to stdout.

r863045 | cmpilato | 2007-01-11 16:20:57 +0000 (Thu, 11 Jan 2007)

Add a new --stdout command-line option to which
overrides the configured mail delivery methods and causes the script
to generate mbox-formatted mailstuffs to stdout.  This is a followup
to r22589.

Patch by: Lars Müller <lm{_AT_}>
(Tweaked by me.)

* tools/hook-scripts/
  (): Add processing for a new --stdout command-line option.
  (opt_to_hash_key): Add --stdout item.
  (usage): Note new option.
  (new_project): Populate 'stdout' member.