C.93 SvnCopyTask

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

Table C.126: 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

C.93.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"/>