using external commit hooks to kick off build

Sean schliden at gmail.com
Fri Mar 30 03:21:44 UTC 2007


Is tip considered a tag as far as the tag hook is concerned ?

I tried using the tag hook, but it does not seem to fire on commit ?


On 3/30/07, Sean <schliden at gmail.com> wrote:
> 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