C.33 HgInitTask

Create a new Mercurial repository. This is available for PHP 5.4 and higher.

Table C.34: Attributes

NameTypeDescriptionDefaultRequired
insecureBooleanDo not verify server certificate.falseNo
quietBooleanWork silently unless an error occurs.falseNo
repositoryStringPath to Mercurial repository.n/aNo

C.33.1 Example

<property name="repo.dir" value="./repo.directory" />
<resolvepath propertyName="repo.dir.resolved" file="${repo.dir}" />
<hginit repository="${repo.dir.resolved}"/>