[Buildbot-devel] Mercurial: commit vs changegroup hook

Marcus Lindblom macke at yar.nu
Tue Feb 2 17:14:17 UTC 2010

On 2010-02-02 15:56, Charles-Henri d'Adhémar wrote:
> 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.


> Do you guys who are working with Mercurial already had this issue ?

No, we use a remote repo on our server that triggers the buildbot. 
No-one ever commits there, everyone just push and pull. This is a pretty 
common scenario.

> Did you write a commit hook (either using a python or buildbot
> sendchange script based) that could be shared ?

No, but perhaps the existing one could be adapted?
After all, it's very much the same thing. :)


More information about the devel mailing list