[PATCH] Change behavior of changegroup hook for notify extension

Benoît Allard benoit at aeteurope.nl
Mon Dec 12 07:02:15 CST 2011


On 12/12/2011 1:51 PM, Nikolaus.Schueler at lantiq.com wrote:
> diff --git a/hgext/notify.py b/hgext/notify.py
> --- a/hgext/notify.py
> +++ b/hgext/notify.py
> @@ -108,6 +108,11 @@ notify.merge
>   notify.mbox
>     If set, append mails to this mbox file instead of sending. Default: None.
>
> +notify.fromauthor
> +  If set, use the first committer of the changegroup for the "From" field of
> +  the notification mail. If not set, use the system user of the pushing repo.
> +  Default: False.
> +

I have to disagree with that one, the `email.from` configuration value 
will be used if none is set in the mail content (if this one is False)

>   If set, the following entries will also be used to customize the notifications:
>
>   email.from

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4936 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111212/dccedd39/attachment.bin>


More information about the Mercurial-devel mailing list