TagTask.

FailIfModified Property

Summary

Indicates whether the head revision should be used if the NAnt.SourceControl.Tasks.TagTask.ActOnTag or the NAnt.SourceControl.Tasks.TagTask.ActOnDate tags are not found.
Assembly
NAnt.SourceControl.dll
Namespace
NAnt.SourceControl.Tasks
Containing Type
TagTask

Syntax

[TaskAttribute("fail-if-modified", Required = false)]
[BooleanValidator()]
public bool FailIfModified { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool true if the specified tag should be moved; otherwise, false. The default is false.