[PATCH] Change behavior of "changegroup" hook, make new behavior optional

Benoît Allard benoit at aeteurope.nl
Mon Dec 12 04:52:33 CST 2011


On 12/9/2011 9:24 PM, Matt Mackall wrote:
> On Fri, 2011-12-09 at 09:40 +0000, Nikolaus.Schueler at lantiq.com wrote:
>
>> +    useauthor = ui.config('notify', 'changegroup.usefirstcommitter')
>
> I can't say I'm thrilled by the option name. I think
>
> [notify]
> fromauthor=True
>
> to use the first commit author in the single cset and multiple cset case
> would be better.
>


What about:

[notify]
from = first

This way, the option name is the same as in the [email] section.


-------------- 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/e5382fbe/attachment.bin>


More information about the Mercurial-devel mailing list