NAnt SDK Documentation - v0.92

ExportTask.Revision Property

Specify the revision to update the file to. This corresponds to the "sticky-tag" of the file.

[Visual Basic]
<TaskAttribute(Name:="revision", Required:=False, ExpandProperties:=True, ProcessXml:=True), _  StringValidator(AllowEmpty:=True, Expression:="^[A-Za-z0-9][A-Za-z0-9._\-]*$", ExpressionErrorMessage:="null")>
Public Property Revision As String
[C#]
[TaskAttribute(Name="revision", Required=False, ExpandProperties=True, ProcessXml=True)]
[StringValidator(AllowEmpty=True, Expression="^[A-Za-z0-9][A-Za-z0-9._\-]*$", ExpressionErrorMessage="null")]
public string Revision {get; set;}

See Also

ExportTask Class | NAnt.SourceControl.Tasks Namespace