NAnt SDK Documentation - v0.92

UpdateTask.Revision Property

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

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

See Also

UpdateTask Class | NAnt.SourceControl.Tasks Namespace