🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 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"/> ```