using external commit hooks to kick off build

Sean schliden at gmail.com
Thu Mar 29 10:20:48 CDT 2007


Christian,

I have not been able to get the python hooks to work... so I continued
with the external .cmd hook.

All is fairly well, except, that it appears that the commit hook
processing is occurring b4 the keyword expansion.

Is there a way to hook after the keyword expansion has already occurred ?

TIA

Sean

On 3/29/07, Christian Ebert <blacktrash at gmx.net> wrote:
> * Sean on Wednesday, March 28, 2007 at 23:35:18 +1000:
> > I've got this in mercurial.ini
> >
> > [hooks]
> > commit =
> > commit.build = python:hghooks.buildhook.mybuild
> >
> > and the file is called: buildhook.py
>
> and should reside in
>
> $PYTHONPATH/hghooks/
>
> (or windows backslashes, but I don't know about windows, and I
> don't know how you handle $PYTHONPATH on windows either)
>
> As I said, you can test from the Python interpreter/shell whether
> the import works.
>
> c
> --
> _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>


More information about the Mercurial mailing list