[PATCH] Change behavior of "changegroup" hook

Angel Ezquerra angel.ezquerra at gmail.com
Tue Dec 6 13:36:53 CST 2011


El 06/12/2011 18:30, <Nikolaus.Schueler at lantiq.com> escribió:
>
> Hi all,
>
> Here is a patch I suggest for the notify extension:
>
> Notify extension: Change behavior of "changegroup" hook.
>
> There are two hooks, "incoming" and "changegroup".
> If you use the "incoming" hook, the sender of the mail (given by the
"From" header) is the user that did the commit. If you use the
"changegroup" hook, the "From" header contains the system user, that is,
the user that does the push.
>
> This patch would change the behavior so that the sender in case of the
"changegroup" hook is the user that did the first commit in the changegroup.

If accepted I'd vote for this to be used configurable and fodr the old
behavior to be the default.

Cheers,

Angel
 El 06/12/2011 18:30, <Nikolaus.Schueler at lantiq.com> escribió:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111206/9439d382/attachment.html>


More information about the Mercurial-devel mailing list