Home | Trees | Indices | Help |
|
---|
|
base.Command --+ | SourceBase --+ | CVS
CVS-specific VC operation. In addition to the arguments handled by SourceBase, this command reads the following keys: ['cvsroot'] (required): the CVSROOT repository string ['cvsmodule'] (required): the module to be retrieved ['branch']: a '-r' tag or branch name to use for the checkout/update ['login']: a string for use as a password to 'cvs login' ['global_options']: a list of strings to use before the CVS verb ['checkout_options']: a list of strings to use after checkout, but before revision and branch specifiers ['checkout_options']: a list of strings to use after export, but before revision and branch specifiers ['extra_options']: a list of strings to use after export and checkout, but before revision and branch specifiers
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.
|
Start the command. This method should return a Deferred that will fire when the command has completed. The Deferred's argument will be ignored. This method should be overridden by subclasses.
|
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:37 2010 | http://epydoc.sourceforge.net |