[Buildbot-commits] buildbot/buildbot master.py,1.83,1.84

Brian Warner warner at users.sourceforge.net
Tue Oct 25 01:57:35 UTC 2005


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

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

add 'branch' box to the debugclient's fake-commit command

	* buildbot/clients/debug.glade: add 'branch' box to fake-commit
	* buildbot/clients/debug.py (DebugWidget.do_commit): same. Don't
	send the branch= argument unless the user really provided one, to
	retain compatibility with older buildmasters that don't accept
	that argument.
	* buildbot/master.py (DebugPerspective.perspective_fakeChange):
	same


Index: master.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/master.py,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- master.py	23 Oct 2005 05:06:02 -0000	1.83
+++ master.py	25 Oct 2005 01:57:33 -0000	1.84
@@ -445,9 +445,10 @@
         bc = c.getBuilder(buildername)
         bc.forceBuild(who, "debug tool 'Force Build' button pushed")
 
-    def perspective_fakeChange(self, file, revision=None, who="fakeUser"):
+    def perspective_fakeChange(self, file, revision=None, who="fakeUser",
+                               branch=None):
         change = Change(who, [file], "some fake comments\n",
-                        revision=revision)
+                        branch=branch, revision=revision)
         c = interfaces.IControl(self.master)
         c.addChange(change)
 





More information about the Commits mailing list