[Buildbot-devel] sendchange: error recovery

Frederic Leroy fredo at starox.org
Thu Jul 12 11:58:14 UTC 2007


Hello, 

I don't know how to recover from a failing sendchange().
I use it in a mercurial python hook and when it times out, Ic never
exits from the hook.

---------
change NOT sent

[Failure instance: Traceback (failure with no frames):
twisted.internet.error.TimeoutError: User timeout caused connection
failure.

]
---------

The hook is here :
http://buildbot.net/trac/attachment/ticket/50/add_buildbot_hook_for_mercurial.patch

I think I must call reactor.stop(). But how I'm sure changes was sent
 or discarded.
Please help ! I don't understand how twisted works.

Cheers, 

-- 
Frederic Leroy




More information about the devel mailing list