[Buildbot-commits] buildbot/buildbot/scripts tryclient.py,1.10,1.11

Brian Warner warner at users.sourceforge.net
Sat Nov 5 22:58:11 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5369/buildbot/scripts

Modified Files:
	tryclient.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-418
Creator:  Brian Warner <warner at lothar.com>

deal with integer 'baserev' in try (for SVN and Arch)

	* buildbot/scripts/tryclient.py (createJobfile): stringify the
	baserev before stuffing it in the jobfile. This resolves problems
	under SVN (and probably Arch) where revisions are expressed as
	numbers. I'm inclined to use string-based revisions everywhere in
	the future, but this fix should be safe for now. Thanks to Steven
	Walter for the patch.


Index: tryclient.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/tryclient.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- tryclient.py	25 Oct 2005 02:12:10 -0000	1.10
+++ tryclient.py	5 Nov 2005 22:58:09 -0000	1.11
@@ -166,7 +166,7 @@
     job += ns("1")
     job += ns(bsid)
     job += ns(branch)
-    job += ns(baserev)
+    job += ns(str(baserev))
     job += ns("%d" % patchlevel)
     job += ns(diff)
     for bn in builderNames:





More information about the Commits mailing list