C.79 SvnCopyTask

The SvnCopyTask duplicates something in a working copy or repository, remembering history.

Table C.105: Attributes

NameTypeDescriptionDefaultRequired
messageStringLog messagen/aNo
svnpathStringPath to Subversion binary/usr/bin/svnNo
repositoryurlStringURL of SVN repositorynoneYes
usernameStringA username used to connect to the SVN servernoneNo
passwordStringA password used to connect to the SVN servernoneNo
forceBooleanForce overwrite files if they already existfalseNo
nocacheBooleanConnection credentials will not be cachedfalseNo
todirStringPath to export tononeYes
depthStringLimit operation by depthempty, files, immediates or infinityNo
trustServerCertBooleanTrust self-signed certificatesfalseNo
configOptionStringOverride subversion's config optionn/aNo

C.79.1 Example

<svncopy
   svnpath="/usr/bin/svn"
   username="anony"
   password="anony"
   nocache="true"
   repositoryurl="svn://localhost/project/trunk/"
   todir="svn://localhost/project/tags/0.1"/>