C.29 HgAddTask

Add files to Mercurial repository on the next commit. This is available for PHP 5.4 and higher.

Table C.30: Attributes

NameTypeDescriptionDefaultRequired
repositoryStringPath to Mercurial repository.n/aYes

C.29.1 Example

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

C.29.2 Supported Nested Tags