ATTRIBUTE SET

Description

Sets an attribute on a given object.

Usage

cm attribute | att set <att_spec> <object_spec> <att_value>

Option / ArgumentDescription
att_specAttribute specification. (Use 'cm help objectspec' to learn more about attribute specs.)
object_specSpecification of the object to set the attribute on. Attributes can be set on: branches, changesets, shelvesets, labels, items, and revisions. (Use 'cm help objectspec' to learn more about specs.)
att_valueThe attribute value to set to the object.

Help

Remarks

An attribute can be set on an object to save additional information for this object. Attributes can be set on the following objects: branches, changesets, shelvesets, labels, items, and revisions.

Examples

cm attribute set att:status br:/main/SCM105 open

(Sets attribute 'status' to branch 'SCM105' with value 'open'.)

cm att set att:integrated@reptest@server2:8084 lb:LB008@reptest@server2:8084 yes

(Sets attribute 'integrated' to label 'LB008' in repository 'reptest' with value 'yes'.)