How to creat new workspace without component with scmtools?
3 answers
Use the following three scm commands in sequence:
1. scm create workspace "ws_name" ... (creates workspace with default component)
2. scm workspace remove-component "default_comp_name"... (removes the default created component)
3. scm change-target unset-workspace "ws_name".... (removes the flow-target to the stream)
1. scm create workspace "ws_name" ... (creates workspace with default component)
2. scm workspace remove-component "default_comp_name"... (removes the default created component)
3. scm change-target unset-workspace "ws_name".... (removes the flow-target to the stream)
To avoid creating all those empty components (which currently cannot be
deleted), I'd suggest creating some dummy stream, and creating new
workspaces based on that stream (and then remove the flow-target).
i.e.
scm create workspace -s dummy-stream "ws_name"
Cheers,
Geoff
On 11/1/2011 1:38 PM, herbertg wrote:
deleted), I'd suggest creating some dummy stream, and creating new
workspaces based on that stream (and then remove the flow-target).
i.e.
scm create workspace -s dummy-stream "ws_name"
Cheers,
Geoff
On 11/1/2011 1:38 PM, herbertg wrote:
Use the following three scm commands in sequence:
1. scm create workspace "ws_name" ... (creates workspace
with default component)
2. scm workspace remove-component "default_comp_name"...
(removes the default created component)
3. scm change-target unset-workspace "ws_name".... (removes
the flow-target to the stream)
As long as you create the workspace against an existing steam, ie, using the --stream option, this problem is bypassed. A more user friendlier method might be to add a --nodefault-comp option and just avoid the problem altogether.
To avoid creating all those empty components (which currently cannot be
deleted), I'd suggest creating some dummy stream, and creating new
workspaces based on that stream (and then remove the flow-target).
i.e.
scm create workspace -s dummy-stream "ws_name"
Cheers,
Geoff
On 11/1/2011 1:38 PM, herbertg wrote:
Use the following three scm commands in sequence:
1. scm create workspace "ws_name" ... (creates workspace
with default component)
2. scm workspace remove-component "default_comp_name"...
(removes the default created component)
3. scm change-target unset-workspace "ws_name".... (removes
the flow-target to the stream)