The SvnExportTask
exports a Subversion repository to a local
directory.
Table C.106: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
revision | String | Revision to use in export | HEAD | No |
svnpath | String | Path to Subversion binary | /usr/bin/svn | No |
repositoryurl | String | URL of SVN repository | none | Yes |
username | String | A username used to connect to the SVN server | none | No |
password | String | A password used to connect to the SVN server | none | No |
nocache | Boolean | Connection credentials will not be cached | false | No |
todir | String | Path to export to | none | Yes |
depth | String | Limit operation by depth | empty ,
files ,
immediates or
infinity | No |
ignoreexternals | Boolean | Ignore externals definitions | false | No |
trustServerCert | Boolean | Trust self-signed certificates | false | No |
configOption | String | Override subversion's config option | n/a | No |
<svnexport svnpath="/usr/bin/svn" username="anony" password="anony" force="true" nocache="true" repositoryurl="svn://localhost/project/trunk/" todir="/home/user/svnwc" configoption="config:miscellany:use-commit-times=yes" />
<svnexport svnpath="C:/Subversion/bin/svn.exe" repositoryurl="svn://localhost/project/trunk/" todir="C:/projects/svnwc"/>