[Buildbot-commits] buildbot/buildbot/clients sendchange.py,1.2,1.3

Brian Warner warner at users.sourceforge.net
Tue Oct 25 01:26:13 UTC 2005


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

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

update manual, add --branch to 'buildbot sendchange'

	* docs/buildbot.texinfo: update lots of stuff

	* buildbot/scripts/runner.py (sendchange): add a --branch argument
	to the 'buildbot sendchange' command
	* buildbot/clients/sendchange.py (Sender.send): same
	* buildbot/changes/pb.py (ChangePerspective): same
	* buildbot/test/test_changes.py (Sender.testSender): test it


Index: sendchange.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/clients/sendchange.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sendchange.py	4 May 2005 07:37:27 -0000	1.2
+++ sendchange.py	25 Oct 2005 01:26:11 -0000	1.3
@@ -10,9 +10,9 @@
         self.host, self.port = master.split(":")
         self.port = int(self.port)
 
-    def send(self, revision, comments, files):
+    def send(self, branch, revision, comments, files):
         change = {'who': self.user, 'files': files, 'comments': comments,
-                  'revision': revision}
+                  'branch': branch, 'revision': revision}
 
         f = pb.PBClientFactory()
         d = f.login(credentials.UsernamePassword("change", "changepw"))





More information about the Commits mailing list