[Buildbot-devel] [path] mercurial hook

Frederic Leroy fredo at starox.org
Tue Jul 3 19:59:15 UTC 2007


Le Mon, 02 Jul 2007 02:38:08 -0700,
Brian Warner <warner-buildbot at lothar.com> a écrit :

> Brian Warner <warner-buildbot at lothar.com> writes:
> Oh, duh, it just occurred to me that since Mercurial is written in
> python, we can use an in-process hook and bypass the shell+parsing
> step entirely. Something which could be used like this:
> 
> [hooks]
> commit.buildbot = python:buildbot.changes.hghook.hghook
> 
> buildbot/changes/hghook.py:
> 
> def hghook(ui, repo, **args):
>     # not sure what else goes here
> 
> I've created ticket #50 to track this one.

I looked at sourceforge and didn't manage to find this ticket.
Otherwise, I'm going on, and hope to release this hook in few days.

Cheers, 

-- 
Frédéric Leroy




More information about the devel mailing list