企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# C.96 SvnLastRevisionTask The `SvnLastRevisionTask` stores the number of the last revision of a Subversion workingcopy in a property. Table C.129:聽Attributes NameTypeDescriptionDefaultRequired`svnpath``String`Path to Subversion binary/usr/bin/svnNo`workingcopy``String`Working copy directorynoneYes, or `repositoryurl``repositoryurl``String`URL of remote repositorynoneYes, or `workingcopy``username``String`A username used to connect to the SVN servernoneNo`password``String`A password used to connect to the SVN servernoneNo`propertyname``String`Name of property to usesvn.lastrevisionNo`lastChanged``Boolean`Sets whether to store actual last changed revision of the directory/file mentioned`false`No C.96.1 Example ``` <svnlastrevision svnpath="/usr/bin/svn" workingcopy="/home/user/svnwc" propertyname="svn.lastrevision"/> ``` ``` <svnlastrevision svnpath="C:/Subversion/bin/svn.exe" workingcopy="C:/projects/svnwc" propertyname="svn.lastrevision"/> ``` ``` <svnlastrevision svnpath="C:/Subversion/bin/svn.exe" repositoryurl="http://svn.phing.info/" propertyname="svn.lastrevision"/> ```