ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# C.31 HgCloneTask Make a copy of an existing Mercurial repository. This is available for PHP 5.4 and higher. Table C.32:聽Attributes NameTypeDescriptionDefaultRequired`insecure``Boolean`Do not verify server certificate.falseNo`repository``String`Path to Mercurial repository.n/aYes`targetPath``String`Directory to clone into.n/aYes`quiet``Boolean`Work silently unless an error occurs.`false`No C.31.1 Example ``` <property name="repo.dir" value="./repo.directory" /> <property name="repo.url" value="https://bitbucket.org/spaetz/ceyx-mapcss" /> <resolvepath propertyName="repo.dir.resolved" file="${repo.dir}" /> <hgclone repository="${repo.url}" quiet="false" insecure="true" targetPath="${repo.dir.resolved}"/> ```