Create a new Mercurial repository.
This is available for PHP 5.4 and higher.
Table C.30: Attributes
Name | Type | Description | Default | Required |
---|
insecure | Boolean | Do not verify server certificate. | false | No |
quiet | Boolean | Work silently unless an error occurs. | false | No |
repository | String | Path to Mercurial repository. | n/a | No |
<property name="repo.dir" value="./repo.directory" />
<resolvepath propertyName="repo.dir.resolved" file="${repo.dir}" />
<hginit repository="${repo.dir.resolved}"/>