[Buildbot-devel] Mercurial: commit vs changegroup hook

Charles-Henri d'Adhémar cdadhemar at gmail.com
Tue Feb 2 14:56:11 UTC 2010

Hello all,

I am using Buildbot 0.7.12 and Mercurial 1.4.2.

It seems that only a Mercurial changegroup hook is available : this
hook is only called when some changes are pulled, pushed or unbundled
to the repository. This hook is not called when there is a commit
inside the repository.

The fact that buildbot is not notified of commits (just
pulled/pushed/unbundled changes) is a problem in particular when there
are some merge work to do after a pull/push ...

Of course this can be work around by working with an additional
repository : one for pulling/merging and one for pushing/pulling the
merged and tested changes. However I am in a situation where I would
like to minimize the number of clones ...

Do you guys who are working with Mercurial already had this issue ?
Did you write a commit hook (either using a python or buildbot
sendchange script based) that could be shared ?

Thank you very  much for your help on this subject !

More information about the devel mailing list