__init__(self,
repourl=None,
baseURL=None,
defaultBranch=None,
branchType=' dirname ' ,
clobberOnBranchChange=True,
**kwargs)
(Constructor)
| source code
|
- Parameters:
repourl (string) - the URL which points at the Mercurial repository. This uses the
'default' branch unless defaultBranch is specified below and the
branchType is set to 'inrepo'. It is an error to
specify a branch without setting the branchType to
'inrepo'.
baseURL - if 'dirname' branches are enabled, this is the base URL to which
a branch name will be appended. It should probably end in a
slash. Use exactly one of repourl and
baseURL .
defaultBranch - if branches are enabled, this is the branch to use if the Build
does not specify one explicitly. For 'dirname' branches, It will
simply be appended to baseURL and the result handed
to the 'hg update' command. For 'inrepo' branches, this specifies
the named revision to which the tree will update after a clone.
branchType - either 'dirname' or 'inrepo' depending on whether the branch name
should be appended to the baseURL or the branch is a
mercurial named branch and can be found within the
repourl
clobberOnBranchChange - boolean, defaults to True. If set and using inrepos branches,
clobber the tree at each branch change. Otherwise, just update to
the branch.
- Overrides:
process.buildstep.BuildStep.__init__
|