[Buildbot-commits] [Buildbot] #2127: Git 1.7.7: Recent change causes buildbot to always fail to fetch from git
Buildbot
nobody at buildbot.net
Sun Oct 9 04:07:11 UTC 2011
#2127: Git 1.7.7: Recent change causes buildbot to always fail to fetch from git
---------------------+-----------------------
Reporter: cdavis5x | Owner:
Type: defect | Status: new
Priority: critical | Milestone: undecided
Version: master | Keywords: git
---------------------+-----------------------
When buildbot updates a repository using Git, one of the things it does
is:
{{{
$ git branch -M <branch-name>
}}}
where `<branch-name>` is the target branch. Even if the branch already
existed, this worked fine...
...up until Git 1.7.7, which for some reason changed this. Now when you
try to rename the current branch, `git branch -M` throws this error:
{{{
fatal: Cannot force update the current branch.
}}}
Unless this bug is fixed, '''IT WILL NOT BE POSSIBLE TO USE BUILDBOT WITH
GIT >= 1.7.7'''. Luckily for you all, I went ahead and fixed this for you.
(Watch for an upcoming pull request.)
--
Ticket URL: <http://trac.buildbot.net/ticket/2127>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list