RTagTask.

ActOnTag Property

Summary

Indicates the repository NAnt.SourceControl.Tasks.RTagTask.Tag that is acted on for the tag command. Note if NAnt.SourceControl.Tasks.RTagTask.MoveIfExists is true then the tag specified is moved to the revision of the file on the HEAD of the branch specified.
Assembly
NAnt.SourceControl.dll
Namespace
NAnt.SourceControl.Tasks
Containing Type
RTagTask

Syntax

[TaskAttribute("act-on-tag", Required = false)]
[StringValidator(AllowEmpty = false, Expression = @"^[A-Za-z0-9][A-Za-z0-9._\-]*$")]
public string ActOnTag { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string The tag (or more likely) branch that should be used to apply the new tag.