[zorg] r343625 - Attempt to handle forced builds in annotated bot script
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 2 13:20:51 PDT 2018
Author: rnk
Date: Tue Oct 2 13:20:51 2018
New Revision: 343625
URL: http://llvm.org/viewvc/llvm-project?rev=343625&view=rev
Log:
Attempt to handle forced builds in annotated bot script
Normally the revision comes from the BUILDBOT_REVISION environment
variable, but when I force builds, it appears to be empty, causing svn
to fail.
Modified:
zorg/trunk/zorg/buildbot/builders/annotated/annotated_builder.py
Modified: zorg/trunk/zorg/buildbot/builders/annotated/annotated_builder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/annotated/annotated_builder.py?rev=343625&r1=343624&r2=343625&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/annotated/annotated_builder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/annotated/annotated_builder.py Tue Oct 2 13:20:51 2018
@@ -239,7 +239,7 @@ class AnnotatedBuilder:
path = pjoin(source_dir, path)
util.report(
"Updating %s at %s from %s" % (project, util.shquote(path), uri))
- if revision is None:
+ if not revision:
revision_args = []
else:
revision_args = ['-r', revision]
More information about the llvm-commits
mailing list