[Python-checkins] hooks: Do not try to launch builds for branches 2.5 and 2.6
local-hg
python-checkins at python.org
Sun Mar 20 00:42:07 CET 2011
http://hg.python.org/hooks/rev/64b88122c8d9
changeset: 65:64b88122c8d9
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sun Mar 20 00:42:07 2011 +0100
summary:
Do not try to launch builds for branches 2.5 and 2.6
files:
hgbuildbot.py
diff --git a/hgbuildbot.py b/hgbuildbot.py
--- a/hgbuildbot.py
+++ b/hgbuildbot.py
@@ -84,6 +84,9 @@
manifest, user, (time, timezone), files, desc, extra = repo.changelog.read(node)
parents = [p for p in repo.changelog.parents(node) if p != nullid]
branch = extra['branch']
+ if branch in ['2.5', '2.6']:
+ # No buildbot category for these branches
+ continue
if len(parents) > 1:
# Explicitly compare current with its first parent (otherwise
# some files might be "forgotten" if they are copied as-is from the
--
Repository URL: http://hg.python.org/hooks
More information about the Python-checkins
mailing list