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