It's all about the answers!

Ask a question

how to accept a snapshot into my local machine by CMD


samuel wang (321923) | asked May 08 '14, 10:31 a.m.
edited May 08 '14, 10:38 a.m.
I want to accept the change sets one by one into my local workspace, but there is snapshot to block me to do this, how to accept  a snapshot into my local workspace by using command or API?

Accepted answer


permanent link
Tim Mok (6.6k38) | answered May 08 '14, 11:08 a.m.
JAZZ DEVELOPER
You cannot set a flow target to a snapshot. However, you can create a workspace from the snapshot. I would recommend creating a workspace from the snapshot. Set the flow target for your workspace to this new workspace and accept whatever changes you want.
samuel wang selected this answer as the correct answer

Comments
samuel wang commented May 08 '14, 11:12 a.m.

I have a workspace of the stream,  created a snapshot of the stream, then I am not able to accept new change sets before accepting the snapshot by CMD, I don't know how to accept/update my workspace to be able to get new change sets


Tim Mok commented May 08 '14, 11:28 a.m.
JAZZ DEVELOPER

I'm not sure what you mean by accepting the snapshot. This is not something you can do in RTC. If you created a snapshot on the stream, it is possible that it created baselines for the snapshot. You can accept these baselines into your workspace from the stream. Or, you can ignore them and only accept the change sets inside the baselines.

When showing the status with the command line, you can specify the -B option to expand baselines to show change sets. This will show you the change sets that you can specify with the accept command.


samuel wang commented May 08 '14, 11:39 a.m.

appreciate for your answer, I got error when I tried to accept the change set, "cannot accept change set because gap...", have to accept all changes, I will try to accept the base line and see what happen.


samuel wang commented May 08 '14, 12:01 p.m.

thanks again, if I log in as another user, I am able to accept the new change sets without accept the baseline of the snapshot. I can accept the baseline any time.


Tim Mok commented May 08 '14, 1:36 p.m.
JAZZ DEVELOPER

If changes in the change set rely on another change set, you have to accept the other change set as well. You cannot put your configuration's change history into a situation where there is a gap. See accept with gaps. If you do upgrade to 4.0.5, there is improved gap handling. With 5.0, you'll have even better workflow for dealing with gaps and determining which change sets you will need to accept.

Your answer


Register or 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.