feature request (notify)

Benoit Boissinot benoit.boissinot at ens-lyon.org
Fri Jun 12 20:16:54 CDT 2009


On Thu, Jun 11, 2009 at 04:28:38PM +0100, Christian Ebert wrote:
> * Neal Becker on Thursday, June 11, 2009 at 11:10:06 -0400
> > Christian Ebert wrote:
> >> * Neal Becker on Thursday, June 11, 2009 at 07:53:30 -0400
> >>> I'd like notify to work for direct commits.  Seems to only work if I
> >>> commit
> >>> via push.  By direct commit, I mean a commit performed in the current
> >>> working directory.
> >> 
> >> Have you tried configuring notify to be triggered by a commit
> >> hook?
> >> 
> > No, how do I do that?
> 
> Forget what I said. Seems that only incoming and changegroup
> hooks are supported. notify could perhaps be extended to do that.

Actually after a quick look, adding python:hgext.inotify.hook to
the commit hook should work. :)

Maybe someone can test and if it works send a patch to update the
comment at the start of the file?

regards,

Benoit

-- 
:wq


More information about the Mercurial-devel mailing list