Home | Trees | Indices | Help |
|
---|
|
base.Command --+ | SourceBase --+ | P4Base --+ | P4Sync
A partial P4 source-updater. Requires manual setup of a per-slave P4 environment. The only thing which comes from the master is P4PORT. 'mode' is required to be 'copy'.
['p4port'] (required): host:port for server to access ['p4user'] (optional): user to use for access ['p4passwd'] (optional): passwd to try for the user ['p4client'] (optional): client spec to use
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
header =
|
|
Inherited from Inherited from |
Method Details |
Override this in a subclass to extract items from the args dict.
|
Returns True if the tree can be updated.
|
Returns a deferred with the steps to update a checkout.
|
Returns a deferred with the steps to do a fresh checkout.
|
Override this in a subclass. It should return a string that represents which revision was actually checked out, or a Deferred that will fire with such a string. If, in a future build, you were to pass this 'got_revision' string in as the 'revision' component of a SourceStamp, you should wind up with the same source code as this checkout just obtained. It is probably most useful to scan self.command.stdout for a string of some sort. Be sure to set keepStdout=True on the VC command that you run, so that you'll have something available to look at. If this information is unavailable, just return None.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 25 17:52:38 2010 | http://epydoc.sourceforge.net |