[Buildbot-commits] buildbot/buildbot/process step.py,1.77,1.78
Brian Warner
warner at users.sourceforge.net
Wed Nov 23 08:01:25 UTC 2005
Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13954/buildbot/process
Modified Files:
step.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-426
Creator: Brian Warner <warner at lothar.com>
add some HTML links, add NEWS items, assume revisions are strings
* NEWS: start collecting items for next release
* buildbot/process/step.py (SVN.computeSourceRevision): assume
revisions are strings
(P4Sync.computeSourceRevision): same
* buildbot/status/html.py (StatusResourceBuild.body): add a link
to the Buildbot's overall status page
(StatusResourceBuilder.body): same
Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- step.py 5 Nov 2005 22:27:49 -0000 1.77
+++ step.py 23 Nov 2005 08:01:21 -0000 1.78
@@ -1286,7 +1286,7 @@
def computeSourceRevision(self, changes):
if not changes:
return None
- lastChange = max([c.revision for c in changes])
+ lastChange = max([int(c.revision) for c in changes])
return lastChange
def startVC(self, branch, revision, patch):
@@ -1682,7 +1682,7 @@
def computeSourceRevision(self, changes):
if not changes:
return None
- lastChange = max([c.revision for c in changes])
+ lastChange = max([int(c.revision) for c in changes])
return lastChange
def startVC(self, branch, revision, patch):
More information about the Commits
mailing list