[Buildbot-devel] Twisted exception with Buildbot 0.8.5 + Mercurial hook

Dustin J. Mitchell dustin at v.igoro.us
Fri May 24 14:52:02 UTC 2013


The tricky bit here is that the sendchange operation involves
Perspective Broker, which is a Twisted protocol, and thus requires
Twisted.  But you can't run Twisted and Mercurial in the same python
process.

The fix is to shell out to 'buildbot sendchange' from the hook.  IIRC
that's been done for the bzr hook, so that might provide an example.
It'd be great to have the result submitted as a patch!

Dustin




More information about the devel mailing list