Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Create workspace from stream at specific snapshot

Hi everyone

I need to create a workspace from a a stream at a specific snapshot. In the project im working on we have multiple streams and it is possible for more than one stream to have baselines with the same name.

Im using the Team Concert SCM tool, and according to the SCM help, you can specify either a stream or a snapshot when creating a workspace. Not both..

So how can i accomplish this, or alternatively, how can i determine if a created workspace is from a specific stream?

I hope you can help me out

Sincerly Anders Nysom

0 votes



3 answers

Permanent link
You would first create your workspace from the desired snapshot, and
then you would use the change-target command to associate that workspace
with the desired stream.

Cheers,
Geoff

On 9/16/2011 3:38 PM, anys wrote:
Hi everyone

I need to create a workspace from a a stream at a specific snapshot.
In the project im working on we have multiple streams and it is
possible for more than one stream to have baselines with the same
name.

Im using the Team Concert SCM tool, and according to the SCM help, you
can specify either a stream or a snapshot when creating a workspace.
Not both..

So how can i accomplish this, or alternatively, how can i determine if
a created workspace is from a specific stream?

I hope you can help me out

Sincerly Anders Nysom

0 votes


Permanent link
Thank you for the quick reply Geoff

However it doesn't quite fix my problem. If I have two streams, both with a snapshot called "build 3" for instance, I wont be able to create a workspace from snapshot, since there are too many matches to the SCM command.

Executing a command like:
scm create workspace -r connection --snapshot "build 3" myNewWS

would give the error:
The requested operation could not be completed because a selector (name, alias, or UUID) supplied by the user either does not match enough items, or matches too many.

0 votes


Permanent link
Some alternatives:

- Find out the UUID of the snapshot, and use that instead of the name.
- Rename one of the snapshots, so the name is no longer ambiguous.
- Use the GUI to create a workspace, because it can handle multiple
snapshots with the same name.

Cheers,
Geoff


On 9/19/2011 6:23 AM, anys wrote:
Thank you for the quick reply Geoff

However it doesn't quite fix my problem. If I have two streams, both
with a snapshot called "build 3" for instance, I wont be
able to create a workspace from snapshot, since there are too many
matches to the SCM command.

Executing a command like:
scm create workspace -r connection --snapshot "build 3"
myNewWS

would give the error:
The requested operation could not be completed because a selector
(name, alias, or UUID) supplied by the user either does not match
enough items, or matches too many.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Sep 16 '11, 7:11 a.m.

Question was seen: 5,807 times

Last updated: Sep 16 '11, 7:11 a.m.

Confirmation Cancel Confirm