[Buildbot-commits] [djmitche/buildbot] 2e875c: Fixing ticket #609
noreply at github.com
noreply at github.com
Fri Jan 1 00:26:26 UTC 2010
Branch: refs/heads/master
Home: http://github.com/djmitche/buildbot
Commit: 2e875cedbcb52a0d85ce779131112c7db8abc664
http://github.com/djmitche/buildbot/commit/2e875cedbcb52a0d85ce779131112c7db8abc664
Author: Aviv Ben-Yosef <aviv.by at gmail.com>
Date: 2009-12-31 (Thu, 31 Dec 2009)
Changed paths:
M buildbot/slave/commands.py
Log Message:
-----------
Fixing ticket #609
The problem in the ticket is that Git does not checkout the wanted branch, but simply checks out master branch and resets it to the HEAD of the given branch. This means that any scripts in the build that rely on the name of the git-branch in the repo will not see the name they expect to see.
We do not want to simply checkout the branch every time, as that will leave a lot of "dangling" branches if the branch names are changed with time.
So, the decision is to do the same thing we did till now, but also add a step for renaming the branch to the expected name, and make sure the fetching will reset to the wanted revision.
More information about the Commits
mailing list