企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# C.39 HgUpdateTask Update the Mercurial repository's working directory or switch revisions. This is available for PHP 5.4 and higher. Table C.40:聽Attributes NameTypeDescriptionDefaultRequired`branch``String`A specific branch to pull.n/aNo`clean``Boolean`Discard uncommitted changes.falseNo`quiet``Boolean`Work silently unless an error occurs.`false`No`repository``String`Path to Mercurial repository.n/aYes C.39.1 Example ``` <property name="repo.dir" value="./repo.directory" /> <hgupdate repository="${repo.dir.resolved}" branch="dev"/> ```