[Buildbot-commits] [Buildbot] #2153: Master-side git source step always uses default branch after clone

Buildbot nobody at buildbot.net
Sun Nov 27 11:28:47 UTC 2011


#2153: Master-side git source step always uses default branch after clone
----------------------+-----------------------------
Reporter:  Tobi       |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  master     |   Keywords:  master-side git
----------------------+-----------------------------
 Master-side git source step doesn't respect the branch property of the
 build request when has to do a full clone.

 This means that for all modes/methods, it may build the wrong branch if
 the source dir is not updateable, and in particular '''full/clobber will
 always build the default branch''', regardless of the branch property.

 This happens because the master-side git source step only does a git clone
 if source is missing: it does not checkout any branch in particular, so it
 will happen to build the branch git clone checked out (typically, master).

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2153>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list