[Buildbot-devel] [ANN] Buildbot-0.7.10

Ian Zimmerman itz at sproutsys.com
Thu Mar 5 21:22:47 UTC 2009


> You're right about that.  I'm just a bit nervous about the Mercurial 
> changes as I haven't run our BB with the new changes, because I was 
> waiting for you to finish up the RC.

There is one difference in the hg interface that has tripped us up here
after the upgrade.

Before, to check out a brand new build directory, buildbot would start
with a "hg clone REPO".  Now, it basically does "hg init" followed by
"hg pull REPO".  This is much simplified of course, but that's the gist 
of it.  Now, it turns out that hg pull creates a .hg/hgrc file that 
looks like this:

[paths]
default = REPO

... while hg init & hg pull never creates the file.  And, shockingly,
our compile step depends on that file being there, or did (it uses that 
info to put some kind of revision stamp into the binary).  I had to work 
around this by creating yet another stupid shell wrapper around the 
compile, which just cats the file into place if it's not there.

i




More information about the devel mailing list