C.26 HgArchiveTask

Create an unversioned archive of a Mercurial repository revision. This is available for PHP 5.4 and higher.

Table C.27: Attributes

NameTypeDescriptionDefaultRequired
destinationStringName of archive to create.n/aYes
revisionStringRevision to distribute in the archive.n/aNo

C.26.1 Example

<property name="version" value="v0_1_2"/>
<hgarchive destination="${version}.zip" />
<hgarchive destination="${version}.tgz" />