[Buildbot-devel] Fixes for hgbuildbot

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Apr 3 14:51:05 UTC 2008


Hello there,

I was setting up a Buildbot for Mercurial itself, and ran into a problem with
the hgbuildbot code (I am as a matter of course running a very recent version of
hg).

So I was wondering if something like this patch might be accepted. This
interface has been in Mercurial for a while, so it should also work for machines
with older Mercurial versions (for some version of "older").

--- hgbuildbot.py.trunk 2007-07-27 00:12:37.000000000 +0200
+++ hgbuildbot.py.mine  2008-04-03 16:44:53.000000000 +0200
@@ -83,7 +83,7 @@
         for rev in xrange(start, end):
             # send changeset
             n = repo.changelog.node(rev)
-            changeset=repo.changelog.extract(repo.changelog.revision(n))
+            changeset = repo.changelog.read(n)
             change = {
                 'master': master,
                 # note: this is more likely to be a full email address, which

After this fix, everything worked just fine, so thanks for the useful bits.

Cheers,

Dirkjan (not on the list, please CC me)





More information about the devel mailing list