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

Creating a Baseline "post-factum"

Hi! It appears I have forgotten to create some baselines and a snapshot a few months ago... Now I would like to start a stream based on this non-existing snapshot.

Is it possible to create baselines/snapshots for the status of a stream/workspace as it was in the past?

Thanks,
Dolev

0 votes



6 answers

Permanent link
It is possible, but it might take you some time. You should be able to
take your current workspace, and discard all the changes that happened
after the time you want to revert to. After you have your workspace in
the configuration that you desire, you can create a baseline from your
workspace to record the historic state.

dotan wrote:
Hi! It appears I have forgotten to create some baselines and a
snapshot a few months ago... Now I would like to start a stream based
on this non-existing snapshot.

Is it possible to create baselines/snapshots for the status of a
stream/workspace as it was in the past?

Thanks,
Dolev

0 votes


Permanent link
But how do I discard changes from my current workspace?
What I did is to replace the component in my workspace with a previous baseline, accept all change sets up to the "historic state" and then create a baseline. Is there another way?

0 votes


Permanent link
The way you did it was fine (just the opposite approach from what I
suggested).

Do the following to discard changes from your workspace:
1. In the 'Pending Changes' view, select a component
2. From the context menu (right click), select 'Show History'
3. Select the changesets you'd like to discard
4. From the context menu, select 'Discard...'

If the changsets are already delivered to a Stream then you can get them
back by accepting them back from the Stream. If the changesets are not
delivered to a stream yet, then I believe the changesets will be lost
(unless they are attached to a workitem). Use 'discard' with caution.

dotan wrote:
But how do I discard changes from my current workspace?
What I did is to replace the component in my workspace with a previous
baseline, accept all change sets up to the "historic state"
and then create a baseline. Is there another way?

0 votes


Permanent link
Is there a command to create baseline or snapshot for scripting?

0 votes


Permanent link
Thanks very much for the quick reply!

0 votes


Permanent link
Note that although attaching a change set to a workitem makes it easier
to find, change sets are never "lost". In particular, you can use
Search -> Jazz Source Control -> Change Sets to find them.

Cheers,
Geoff

Matt Lavin wrote:
The way you did it was fine (just the opposite approach from what I
suggested).

Do the following to discard changes from your workspace:
1. In the 'Pending Changes' view, select a component
2. From the context menu (right click), select 'Show History'
3. Select the changesets you'd like to discard
4. From the context menu, select 'Discard...'

If the changsets are already delivered to a Stream then you can get them
back by accepting them back from the Stream. If the changesets are not
delivered to a stream yet, then I believe the changesets will be lost
(unless they are attached to a workitem). Use 'discard' with caution.

dotan wrote:
But how do I discard changes from my current workspace? What I did is
to replace the component in my workspace with a previous
baseline, accept all change sets up to the "historic state"
and then create a baseline. Is there another way?

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: Jul 31 '08, 8:07 a.m.

Question was seen: 5,285 times

Last updated: Jul 31 '08, 8:07 a.m.

Confirmation Cancel Confirm