[Buildbot-devel] darcs revisions

Dmitry Nezhevenko dion at dion.org.ua
Fri Jul 15 08:16:14 UTC 2011


On Thu, Jul 14, 2011 at 11:55:12PM -0700, Ian Zimmerman wrote:
> If this is slave behavior, how can I adjust it without actually changing
> buildbot code?  I was hoping to define a subclass of something (anything)
> in my master.cfg.  Was that too much to expect?

As a ugly hack you can subclass Darcs class and override commandComplete
method to not set "got_revision" property. But again, this is hack =)

> I will look at the code, but as I wrote I very much doubt that the
> string returned as got_revision can be used to reset the source to the
> same state.  And I only use a web change hook as a change source, and
> the push script doesn't pass a revision anyway (for the same reasons),
> so I won't be any worse off there.

If your needs are satisfied with this, then it's probably ok.
 
-- 
WBR, Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://buildbot.net/pipermail/devel/attachments/20110715/2fee876e/attachment.bin>


More information about the devel mailing list