💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 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}"/> ```