[Buildbot-devel] SVNPoller.. putting it together..

Scott Lamb slamb at slamb.org
Tue Jan 16 22:30:59 UTC 2007


On Jan 16, 2007, at 2:21 PM, Michael March wrote:
> Ok.. I have this almost working.. the poller can see the changs..  
> but ignores them..

Yeah, you're pretty close. Your problem now is that you've got the  
SVNPoller set up to not know anything about branches, and the  
AnyBranchScheduler set up to expect a branch named "trunk". As you  
have it set up now, if the SVNPoller sees a revision that changes the  
file "http://myrepo.com/svn/repos/scm/users/mmarch/HelloWorldJava// 
trunk/foo", it will say 'file "trunk/foo" changed in branch None". So  
there are two ways you can fix that:

(1) if you really just want the trunk, you can add "trunk" to the  
URL, and pass branches=None to AnyBranchScheduler. (A plain Scheduler  
would work as well.)

(2) if you want real branch support, you need to pass a split_file  
implementation to SVNPoller; probably  
buildbot.changes.svnpoller.split_file_branches.

-- 
Scott Lamb <http://www.slamb.org/>




More information about the devel mailing list