NAnt SDK Documentation - v0.92

ExportTask.ForceHead Property

Indicates whether the head revision should be used if the revison specified by Revision or the Date tags are not found. The default is false.

[Visual Basic]
<BooleanValidator, _  TaskAttribute(Name:="force-head", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property ForceHead As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Name="force-head", Required=False, ExpandProperties=True, ProcessXml=True)]
public bool ForceHead {get; set;}

Property Value

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

See Also

ExportTask Class | NAnt.SourceControl.Tasks Namespace