hg mail notification

Peter Jones peter.jones at sun.com
Wed Dec 5 18:18:10 UTC 2007


On Thu, Nov 29, 2007 at 08:04:02PM -0800, Mark Reinhold wrote:
>> Date: Thu, 29 Nov 2007 11:45:37 -0800
>> From: kumar.srinivasan at sun.com

>> 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?

I wouldn't mind seeing a (short) subject prefix, but also on the topic
of push email notifications, FWIW--

It looks like they are including a files added/removed/modified list
per individual changeset in the changegroup.  A similar template is
being used for another Mercurial-based project that I'm working with,
and I have found that this can be distracting especially when the
pushed changegroup includes merge changesets, because (potentially
very many) files can get listed that are completely unrelated to what
the engineers were touching-- i.e. there are no differences in those
files between the head versions of the parent repository before and
after the push.

Perhaps this is just Teamware fondness that I need to work out of my
system, but I think that I would like to see in push notifications
what "putback" would have said for a file list: the files
added/removed/modified between the parent's latest revision before the
push and after the push, i.e. what's actually getting changed in the
repository by the aggregation of the changesets being pushed.  This
should be similar to the file list that we would see in a webrev
across multiple changesets.  Of course, the changeset metadata
(comment, etc.) would still need to be listed per changeset.

-- Peter



More information about the build-dev mailing list