ATTRIBUTE SET
Description
Sets an attribute on a given object.
Usage
cm attribute | att set <att_spec> <object_spec> <att_value>
Option / Argument | Description |
---|---|
att_spec | Attribute specification. (Use 'cm help objectspec' to learn more about attribute specs.) |
object_spec | Specification 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_value | The 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'.)