__init__(self,
cvsroot=None,
cvsmodule='
' ,
global_options=[ ] ,
branch=None,
checkoutDelay=None,
checkout_options=[ ] ,
export_options=[ ] ,
extra_options=[ ] ,
login=None,
**kwargs)
(Constructor)
| source code
|
x.__init__(...) initializes x; see help(type(x)) for signature
- Parameters:
cvsroot (string) - CVS Repository from which the source tree should be obtained.
'/home/warner/Repository' for local or NFS-reachable
repositories, ':pserver:anon@foo.com:/cvs' for anonymous CVS,
'user@host.com:/cvs' for non-anonymous CVS or CVS over ssh. Lots
of possibilities, check the CVS documentation for more.
cvsmodule (string) - subdirectory of CVS repository that should be retrieved
login (string or None) - if not None, a string which will be provided as a password to the
'cvs login' command, used when a :pserver: method is used to
access the repository. This login is only needed once, but must
be run each time (just before the CVS operation) because there is
no way for the buildslave to tell whether it was previously
performed or not.
branch (string) - the default branch name, will be used in a '-r' argument to
specify which branch of the source tree should be used for this
checkout. Defaults to None, which means to use 'HEAD'.
checkoutDelay (int or None) - if not None, the number of seconds to put between the last known
Change and the timestamp given to the -D argument. This defaults
to exactly half of the parent Build's .treeStableTimer, but it
could be set to something else if your CVS change notification
has particularly weird latency characteristics.
global_options (list of strings) - these arguments are inserted in the cvs command line, before the
'checkout'/'update' command word. See 'cvs --help-options' for a
list of what may be accepted here. ['-r'] will make the checked
out files read only. ['-r', '-R'] will also assume the repository
is read-only (I assume this means it won't use locks to insure
atomic access to the ,v files).
checkout_options (list of strings) - these arguments are inserted in the cvs command line, after
'checkout' but before branch or revision specifiers.
export_options (list of strings) - these arguments are inserted in the cvs command line, after
'export' but before branch or revision specifiers.
extra_options (list of strings) - these arguments are inserted in the cvs command line, after
'checkout' or 'export' but before branch or revision specifiers.
- Overrides:
object.__init__
|