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

Restoring a component removed from a stream?

I removed a component from the team's stream. How can I restore/undo it?
(I assume it's still under source control and therefore recoverable.)

0 votes



7 answers

Permanent link
I removed a component from the team's stream. How can I restore/undo it?
(I assume it's still under source control and therefore recoverable.)

You can open the stream/workspace editor and see the list of components currently in the stream. There are actions to add a component to the stream. You can choose a specific baseline or the state from a snapshot/workspace/stream.

It's probably best to choose a specific baseline to add back to the stream. The component will have a baseline before it was dropped from the stream so you can select that and be back to before it was removed from the stream.

0 votes


Permanent link
It's probably best to choose a specific baseline to add back to the stream. The component will have a baseline before it was dropped from the stream so you can select that and be back to before it was removed from the stream.


I don't see any baselines. Are they created manually? Is there a syntax that says "what it was on Sept 20"?

0 votes


Permanent link
It's probably best to choose a specific baseline to add back to the stream. The component will have a baseline before it was dropped from the stream so you can select that and be back to before it was removed from the stream.


I don't see any baselines. Are they created manually? Is there a syntax that says "what it was on Sept 20"?A component will have at least one baseline. There will be an initial baseline when the component was created.

Where are you looking for baselines? When you add a component to the stream, a wizard will appear. Select that you want to add a component baseline and then search for the component that was dropped from stream. The following page will show all of the component's baselines. The most recent baseline is probably the state of the component when it was dropped.

0 votes


Permanent link
Where are you looking for baselines? When you add a component to the stream, a wizard will appear. Select that you want to add a component baseline and then search for the component that was dropped from stream. The following page will show all of the component's baselines. The most recent baseline is probably the state of the component when it was dropped.


Sadly, no. "show repository files" is empty, and the wizard did not put up a second page. :(

0 votes


Permanent link
Jazz SCM creates a baseline when a component is removed from a stream or workspace, if it wasn't already at a baseline.

If you select your component in the Team Artifacts view under (your project area) / Source Control / Components, and choose Show > Baselines, are any shown?

If so, you should be able to add it back by opening the stream editor and choose Add... -> Component baseline -> Next -> (enter component name) -> Next -> (choose baseline).

0 votes


Permanent link
Jazz SCM creates a baseline when a component is removed from a stream or workspace, if it wasn't already at a baseline.

If you select your component in the Team Artifacts view under (your project area) / Source Control / Components, and choose Show > Baselines, are any shown?

If so, you should be able to add it back by opening the stream editor and choose Add... -> Component baseline -> Next -> (enter component name) -> Next -> (choose baseline).


That was the missing step. Thank you!

0 votes


Permanent link
Glad to hear.

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

Question asked: Nov 29 '10, 12:17 p.m.

Question was seen: 5,715 times

Last updated: Nov 29 '10, 12:17 p.m.

Confirmation Cancel Confirm