TagTask.

ForceHead Property

Summary

Indicates whether the head revision should be used if the revision specified by 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("force-head", Required = false)]
[BooleanValidator()]
public bool ForceHead { 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.