Trees | Indices | Help |
|
---|
|
base.Command --+ | base.SourceBaseCommand --+ | SVN
Subversion-specific VC operation. In addition to the arguments handled by SourceBaseCommand, this command reads the following keys:
['svnurl'] (required): the SVN repository string ['username']: Username passed to the svn command ['password']: Password passed to the svn command ['keep_on_purge']: Files and directories to keep between updates ['ignore_ignores']: Ignore ignores when purging changes ['always_purge']: Always purge local changes after each build ['depth']: Pass depth argument to subversion 1.5+
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Static Methods | |||
|
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.
|
Get the (shell) command used to determine SVN revision number of checked-out code return: list of strings, passable as the command argument to RunProcess |
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.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 29 10:00:43 2010 | http://epydoc.sourceforge.net |