[Buildbot-devel] [PATCH] Scheduler behavior if branch=None
Charles Hardin
chardin at 2wire.com
Fri Jul 21 22:03:25 UTC 2006
This makes Scheduler similar to AnyBranchScheduler - where even if the Source is tagging branches, but you tell the Scheduler to have branch=None it won't ignore your changes...
Index: scheduler.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scheduler.py,v
retrieving revision 1.17
diff -u -r1.17 scheduler.py
--- scheduler.py 7 May 2006 18:36:41 -0000 1.17
+++ scheduler.py 21 Jul 2006 22:01:21 -0000
@@ -129,7 +129,7 @@
return []
def addChange(self, change):
- if change.branch != self.branch:
+ if self.branch is not None and change.branch != self.branch:
log.msg("%s ignoring off-branch %s" % (self, change))
return
if not self.fileIsImportant:
More information about the devel
mailing list