[Buildbot-devel] Mercurial: commit vs changegroup hook

Marcus Lindblom macke at yar.nu
Wed Feb 3 08:49:39 UTC 2010

On 2010-02-02 18:33, Charles-Henri d'Adhémar wrote:

> I have just wrote a python based commit hook based on what I found in
> contrib/hg_buildbot.py
> and buildbot/changes/hgbuildbot.py. See below for the code.
> It may be adapted to your needs, It does not cover all the branching
> cases. If it helps I am more than happy !
> However I will try, when time permit, to merge this into
> buildbot/changes/hgbuildbot.py to provide a better solution, more
> integrated with the current hgbuildbot script.

That'd be neat. The same hgbuildbot.py file could contain both hooks as 
separate functions. Then one could choose what to set buildbot triggers on.


More information about the devel mailing list