C.36 HgPushTask

Push changes from the local Mercurial repository to the specified destination. This is available for PHP 5.4 and higher.

Table C.37: Attributes

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

C.36.1 Example

<property name="repo.dir" value="./repo.directory" />
<hgpush haltonerror="true" repository="{repo.dir.resolved}"/>