[PATCH] Change behavior of "changegroup" hook

Nikolaus.Schueler at lantiq.com Nikolaus.Schueler at lantiq.com
Thu Dec 8 02:49:06 CST 2011


Hello,

I think its a good idea to make the behavior configurable. We will come up with a new patch soon.

Regards

Nik

From: ezquerra at gmail.com [mailto:ezquerra at gmail.com] On Behalf Of Angel Ezquerra
Sent: Tuesday, December 06, 2011 8:37 PM
To: Schueler Nikolaus (LQKG IT SCM)
Cc: mercurial-devel at selenic.com
Subject: Re: [PATCH] Change behavior of "changegroup" hook


El 06/12/2011 18:30, <Nikolaus.Schueler at lantiq.com<mailto: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<mailto:Nikolaus.Schueler at lantiq.com>> escribió:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111208/0f654ed3/attachment.html>


More information about the Mercurial-devel mailing list