C.37 HgRevertTask

Revert files to their checkout state from the Mercurial repository. This is available for PHP 5.4 and higher.

Table C.38: Attributes

NameTypeDescriptionDefaultRequired
allBooleanRevert all Changes when no other details are given.falseNo
nameStringName of file to revert.n/aNo
quietBooleanWork silently unless an error occurs.falseNo
revisionStringRevision to revert to.n/aNo

C.37.1 Example

<hgrevert all="true"/>