[Buildbot-devel] trouble with git branch

Brian Fallik bfallik at litl.com
Mon Sep 22 14:10:08 UTC 2008


Hi.  I was hoping someone could provide guidance with an issue I've
encountered using buildbot 0.7.8.

I'm trying to checkout a branch (named 'buildbot') from a git
repository.  The relevant snippet from master.cfg is:
  f2 = factory.BuildFactory()
  f2.addStep(Git(repo, "buildbot", mode="update"))

However, the slave always checks out master.  I've tried fiddling with
the addStep() command to ensure that I'm passing parameters correctly.
 I've also tried a "clobber" build, speculating that buildbot was
confused with the local version on disk.  Neither had any impact.

I notice bug 340 [1], but am confused since test_vc.py in 0.7.8 seems
to be able to checkout a branch.  Am I missing something obvious?
Should I upgrade to 0.7.9 (the bug fix mentions that the current fix
probably isn't correct anyway)?  Any other suggestions?

Thanks,
brian

[1] - http://buildbot.net/trac/ticket/340




More information about the devel mailing list