#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
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to