多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# C.100 SvnSwitchTask The `SvnSwitchTask` changes a local directory from one repository to another. Table C.133:聽Attributes NameTypeDescriptionDefaultRequired`svnpath``String`Path to Subversion binary/usr/bin/svnNo`repositoryurl``String`URL of remote repositorynoneYes`todir``String`Path to the checked out projectnoneYes`username``String`A username used to connect to the SVN servernoneNo`password``String`A password used to connect to the SVN servernoneNo`nocache``Boolean`Connection credentials will not be cached`false`No`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 C.100.1 Example ``` <svnswitch svnpath="/usr/bin/svn" username="anony" password="anony" nocache="true" repositoryurl="http://svn.phing.info/tags/2.4.2" todir="/home/user/svnwc"/> ``` ``` <svnswitch svnpath="C:/Subversion/bin/svn.exe" repositoryurl="http://svn.phing.info/tags/2.4.2" todir="C:/projects/svnwc"/> ```