[Buildbot-commits] [Buildbot] #2548: Git builder silently drops back to HEAD (master) if a branch isn't found

Buildbot trac trac at buildbot.net
Sat Aug 17 00:24:20 UTC 2013


#2548: Git builder silently drops back to HEAD (master) if a branch isn't found
---------------------+------------------------
Reporter:  chmorgan  |       Owner:
    Type:  defect    |      Status:  new
Priority:  major     |   Milestone:  undecided
 Version:  0.8.6p1   |  Resolution:
Keywords:  git       |
---------------------+------------------------

Comment (by dank):

 This burnt me today.

 In my case, on ubuntu, the warning was

 {{{
 git version 1.7.0.4
 ...
 git clone --branch rel-3.10 --recursive
 git.oblong.com:/ob/git/repo/staging.git .
 warning: Remote branch rel-3.10 not found in upstream origin, using HEAD
 instead
 }}}

 Happily, one of my bots did notice and fail.  The good bot is running git
 1.8.0.2,
 installed with 'sudo port install git-core'.

 {{{
 git version 1.8.0.2
 ...
 git clone --branch rel-3.10 --recursive
 git.oblong.com:/ob/git/repo/staging.git .
 Cloning into '.'...
 fatal: Remote branch rel-3.10 not found in upstream origin
 }}}

 So perhaps this is fixed in git-1.8 and higher?

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2548#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list