hg mail notification
mr at sun.com
Fri Nov 30 04:04:02 UTC 2007
> Date: Thu, 29 Nov 2007 11:45:37 -0800
> From: kumar.srinivasan at sun.com
> The email notification of hg pushes have the following in the subject line
> TeamWare set this in the "Code Manager notification ...." , and I could
> set up the mail client filters to appropriately deal with it.
Yes, and the subject line of every TeamWare message was, helpfully,
exactly the same, i.e., "Code Manager notification (putback-to)".
> Is it possible to special prefix the notification subject with an
> invariant string,
> ex: Hg Push: /jdk7/tl/.....
Yes, it's possible, though it'd waste space in the subject line.
What do others think?
For filtering purposes you can key on the two X- headers that we're
adding to every Mercurial notification message, e.g.,
If a message contains one of those headers then it's a Mercurial
More information about the build-dev