C.90 SvnUpdateTask

The SvnUpdateTask updates a local directory.

Table C.116: Attributes

NameTypeDescriptionDefaultRequired
svnpathStringPath to Subversion binary/usr/bin/svnNo
usernameStringA username used to connect to the SVN servernoneNo
passwordStringA password used to connect to the SVN servernoneNo
nocacheBooleanConnection credentials will not be cachedfalseNo
todirStringPath to the working copynoneYes
revisionIntegerSpecific revision to update the working copy tononeNo
ignoreexternalsBooleanIgnore externals definitionsfalseNo
trustServerCertBooleanTrust self-signed certificatesfalseNo
configOptionStringOverride subversion's config optionn/aNo

C.90.1 Example

<svnupdate
   svnpath="/usr/bin/svn"
   username="anony"
   password="anony"
   nocache="true"
   todir="/home/user/svnwc"/>
<svnupdate
   svnpath="C:/Subversion/bin/svn.exe"
   todir="C:/projects/svnwc"/>