💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# C.95 SvnInfoTask The `SvnInfoTask` parses the output of the 'svn info --xml' command and extracts one specified element (+ optional sub element) from that output. Table C.128:聽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.infoNo`element``String`Sets whether to store actual last changed revision of the directory/file mentionedurlNo`subelement``String`Sets whether to force compatibility with older SVN versions (< 1.2)noneNo C.95.1 Example ``` <svninfo svnpath="/usr/bin/svn" workingcopy="/home/user/svnwc" element="url" propertyname="svn.url"/> ``` ``` <svninfo repositoryurl="http://svn.phing.info/" element="commit" subelement="author" propertyname="svn.author"/> ```