[Buildbot-commits] buildbot/buildbot/process step.py,1.79,1.80

Brian Warner warner at users.sourceforge.net
Fri Apr 7 04:14:59 UTC 2006


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

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

SF#1219384: add arguments to p4poller/P4Sync

	* buildbot/changes/p4poller.py (P4Source): add new arguments:
	password, p4 binary, pollinterval, maximum history to check.
	Patch from an anonymous sf.net contributor, SF#1219384.
	* buildbot/process/step.py (P4Sync.__init__): add username,
	password, and client arguments.
	* buildbot/slave/commands.py (P4Sync): same


Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- step.py	26 Nov 2005 02:14:31 -0000	1.79
+++ step.py	7 Apr 2006 04:14:56 -0000	1.80
@@ -1676,11 +1676,14 @@
 
     name = "p4sync"
 
-    def __init__(self, p4port, **kwargs):
+    def __init__(self, p4port, p4user, p4passwd, p4client, **kwargs):
         assert kwargs['mode'] == "copy", "P4Sync can only be used in mode=copy"
         self.branch = None
         Source.__init__(self, **kwargs)
         self.args['p4port'] = p4port
+        self.args['p4user'] = p4user
+        self.args['p4passwd'] = p4passwd
+        self.args['p4client'] = p4client
 
     def computeSourceRevision(self, changes):
         if not changes:





More information about the Commits mailing list