TagTask.

MoveIfExists Property

Summary

Indicates whether the tag specified in NAnt.SourceControl.Tasks.TagTask.Tag should be moved to the current file revision. If the tag does not exist then it is created.
Assembly
NAnt.SourceControl.dll
Namespace
NAnt.SourceControl.Tasks
Containing Type
TagTask

Syntax

[TaskAttribute("move-if-exists", Required = false)]
[BooleanValidator()]
public bool MoveIfExists { 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.