NAnt SDK Documentation - v0.92

RTagTask.ForceHead Property

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

[Visual Basic]
<TaskAttribute(Name:="force-head", Required:=False, ExpandProperties:=True, ProcessXml:=True), _  BooleanValidator>
Public Property ForceHead As Boolean
[C#]
[TaskAttribute(Name="force-head", Required=False, 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

RTagTask Class | NAnt.SourceControl.Tasks Namespace