NAnt SDK Documentation - v0.92

TagTask.ForceHead Property

Indicates whether the head revision should be used if the revision specified by ActOnTag or the ActOnDate tags are not found.

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

Property Value

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

See Also

TagTask Class | NAnt.SourceControl.Tasks Namespace