AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# C.34 HgLogTask Show revision history of entire Mercurial repository or files, or limit to a number of revisions. Optionally store the history to a phing property. This is available for PHP 5.4 and higher. Table C.35:聽Attributes NameTypeDescriptionDefaultRequired`format``String`Display with template, e.g. "{rev}\\n", "{branch}" etc.n/aNo`maxCount``Integer`Number of commits to show/limit.n/aNo`outputProperty``String`Property name to set output value to from the execution.n/aNo`repository``String`Path to Mercurial repository.n/aYes`revision``String`Show the specified revision or range.n/aYes C.34.1 Example ``` <property name="repo.dir" value="./repo.directory" /> <resolvepath propertyName="repo.dir.resolved" file="${repo.dir}" /> <hglog maxCount="1" format="{files}\n" outputproperty="hgfiles" repository="${repo.dir.resolved}"/> ```