The macro is used to create a repository workspace. If you specify a flow target or snapshot, the repository workspace will be populated with the components of that stream or snapshot.

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
empty Specify true to create an empty workspace. A default component will not be created for the workspace. No*
duplicate The workspace to duplicate. To specify the workspace, use the name[@repo], alias, or UUID[@repo]. No*
historyRef The history reference to use as the initial workspace history. To specify the history reference, use its alias, or UUID[@repo]. History references can be obtained with the "show operations" command. No*
name The name of the workspace. Yes
snapshot The snapshot to use as the initial workspace history. To specify the snapshot, use name[@repo], alias, or UUID[@repo]. No*
stream The stream or workspace to set as the default flow target and initial workspace history. To specify the stream or workspace, use its name[@repo], alias, or UUID[@repo]. No*

Notes

Examples