[Buildbot-commits] [Buildbot] #2211: svn switch before updating to revision
Buildbot
nobody at buildbot.net
Mon Feb 20 14:39:01 UTC 2012
#2211: svn switch before updating to revision
----------------------+-----------------------
Reporter: doh | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: 0.8.5 | Keywords:
----------------------+-----------------------
Hi.
I have the following setup for svn checkout: mode='full', method='copy'.
Also, there's a configured SVNPoller.
Situation:
1. commit to trunk(it will be revision 1);
1. buildbot fetches that and builds revision 1;
1. commit to branch(rev.2);
1. buildbot does 'svn update --revision 2' in the source tree, which is
checked out 'trunk'.
1. buildbot tries to build 'branch', which is actually trunk @ revision 1,
while svnversion tells that it's revision 2. One can check the fact by
doing 'svn log' in the source tree: the log will contain data only about
rev.1, but not 2.
That's not correct. First of all it should switch to 'branch' and do
update to revision only after switching branches.
I'm pretty sure my SVNPoller is configured right and it reports correct
revision number, branch, etc. So the bug is actually in *not switching the
branch before doing update*.
P.S. Although my buildbot version is 0.8.5, I've applied patch from #2194
for 'svn update --revision $NUM' to work.
--
Ticket URL: <http://trac.buildbot.net/ticket/2211>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list