The macro is used to accept changes into a repository workspace. It will also download the changes to the sandbox if the operation was run from within the sandbox location. The changes to accept can be scoped in one of four ways: all changes in a workspace (default), all changes in a set of one of more components (using --components), all changes in one or more baselines (using --baseline), all changes in a set of one or more work items (using --workitems), or a specific set of changes (by specifying the change set aliases, or UUIDs).

Attributes

The macro supports the SCM Macro Common Attributes, as well as, its own macro specific attributes. Click on the link for more information on the common attributes.

The following table describes the macro specific attributes for the macro:

Macro Specific Attributes
Attribute Description Required
baselines Indicates that the selectors refer to baselines and the specified baselines must be accepted. To specify a baseline, use its name, alias, or UUID in the list of selectors. No*
changes Indicates that the selectors refer to change sets and only the specified change sets must be accepted. To specify a change set, use its alias or UUID[@repo] in the list of selectors. No*
components Indicates that the selectors refer to components and all of the changes in the specified components must be accepted. To specify a component, use its name, alias, or UUID in the list of selector. No*
source Name of the source workspace or stream. Yes
target Name of the target workspace or stream. Yes
workitems Indicates that the selectors refer to work items and all the change sets must be accepted. To specify a work item, use its ID[@repo] in the list of selectors. No*

Notes

Examples