From 183b1724a1adc0dd980b62271a4addff02f512b8 Mon Sep 17 00:00:00 2001 From: dustin Date: Sat, 6 Sep 2008 06:01:32 +0100 Subject: [PATCH] fix sendchange when HEAD is specified --- buildbot/steps/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot/steps/source.py b/buildbot/steps/source.py index 5c40092..f1a4028 100644 --- a/buildbot/steps/source.py +++ b/buildbot/steps/source.py @@ -395,7 +395,7 @@ class SVN(Source): def computeSourceRevision(self, changes): - if not changes: + if not changes or None in [c.revision for c in changes]: return None lastChange = max([int(c.revision) for c in changes]) return lastChange -- 2.11.4.GIT