Creating a Baseline "post-factum"
6 answers
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:
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
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:
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?
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:
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?