[Buildbot-devel] [path] mercurial hook

Frederic Leroy fredo at starox.org
Tue Jul 3 20:37:00 UTC 2007


Le Tue, 3 Jul 2007 15:04:18 -0500,
"Dustin J. Mitchell" <dustin at zmanda.com> a écrit :

> On Tue, Jul 03, 2007 at 09:59:15PM +0200, Frederic Leroy wrote:
> > 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.
> 
> Tickets are now at buildbot.net.
Ouch ! 
I didn't found this url. Google's fault !
Maybe can you make a link or a redirection on the sourceforge homepage.

Thank you

-- 
Frédéric Leroy




More information about the devel mailing list