It's all about the answers!

Ask a question

[closed] How to load old revision(old change set) into local workspace to make build by command line?


samuel wang (321923) | asked Jun 05 '14, 10:50 a.m.
closed Jun 06 '14, 10:22 a.m. by Tim Mok (6.6k38)
How to load old revision(old change set) into local workspace to make build by command line?
for example, I want to get the version(change set) which was checked in before, it is not the latest change set,  how to get it into my local workspace by command?

Comments
Tim Mok commented Jun 05 '14, 11:40 a.m.
JAZZ DEVELOPER

Can you clarify your wording? You mention "get the version(change set) which was checked in before" but it's not clear what you mean by change set and checked in. You can check in a file multiple times to a change set before completing it but you want the change set that was checked in before. Did you want a particular check in of a file in a change set or do you want the contents of a change set that was delivered earlier?


samuel wang commented Jun 05 '14, 11:45 a.m.

I mean to get a full version of the workspace at the point of old change set.


Shashikant Padur commented Jun 06 '14, 12:01 a.m.
JAZZ DEVELOPER

If you have created a baseline at a particular point then you can load it. Follow this forum post. Note: If you are using 4.0.6 client or above then the command names have changed.

The question has been closed for the following reason: "Duplicate Question See - https://jazz.net/forum/questions/121821/how-to-load-a-specific-change-set-to-sandbox" by tmok Jun 06 '14, 10:22 a.m.

One answer



permanent link
samuel wang (321923) | answered Jun 06 '14, 10:19 a.m.
edited Jun 06 '14, 10:25 a.m.
thanks, got answer from:
https://jazz.net/forum/questions/121821/how-to-load-a-specific-change-set-to-sandbox
have to discard all the change sets after the specific change set(including the specific change set), then accept the specific change set.
or just discard all the change sets after the specific change set, then in the sandbox it is the version of the specific change set, no need to accept it again.

is there a easy way to get the specific change set to local sandbox? like Subversion, you can get any revision  very easily.

Comments
Tim Mok commented Jun 06 '14, 10:25 a.m.
JAZZ DEVELOPER

RTC works on configurations and you have to discard to get to that configuration. You could load the contents of the change set you want but it wouldn't be the same configuration (ie. file history would be different). If you wanted to do that way there's the 'get file' command.


samuel wang commented Jun 06 '14, 10:58 a.m.

thanks, how to use "get file" to get the full version of the workspace at a specific change set point?