UpdateTask.

Revision Property

Summary

Specify the revision to update the file to. This corresponds to the "sticky-tag" of the file.
Assembly
NAnt.SourceControl.dll
Namespace
NAnt.SourceControl.Tasks
Containing Type
UpdateTask

Syntax

[TaskAttribute("revision", Required = false)]
[StringValidator(AllowEmpty = true, Expression = @"^[A-Za-z0-9][A-Za-z0-9._\-]*$")]
public string Revision { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string