ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 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"/> ```