It's all about the answers!

Ask a question

Creating a Baseline "post-factum"


Dolev Dotan (2622) | asked Jul 31 '08, 8:07 a.m.
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

6 answers



permanent link
Matt Lavin (2.7k2) | answered Jul 31 '08, 8:41 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
Dolev Dotan (2622) | answered Jul 31 '08, 9:54 a.m.
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?

permanent link
Matt Lavin (2.7k2) | answered Jul 31 '08, 10:31 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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?

permanent link
Guowei Jim Hu (1.0k610253) | answered Jul 31 '08, 10:45 a.m.
Is there a command to create baseline or snapshot for scripting?

permanent link
Dolev Dotan (2622) | answered Jul 31 '08, 12:17 p.m.
Thanks very much for the quick reply!

permanent link
Geoffrey Clemm (30.0k23035) | answered Jul 31 '08, 2:26 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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?

Your answer


Register or to post your answer.