ExportTask.

ForceHead Property

Summary

Indicates whether the head revision should be used if the revision specified by NAnt.SourceControl.Tasks.ExportTask.Revision or the NAnt.SourceControl.Tasks.ExportTask.Date tags are not found. The default is false.
Assembly
NAnt.SourceControl.dll
Namespace
NAnt.SourceControl.Tasks
Containing Type
ExportTask

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.