It's all about the answers!

Ask a question

[RTC CLI] checkout a history changeset and show the changeset info


Jim Green (1111) | asked May 20 '15, 4:23 a.m.
retagged May 20 '15, 8:41 a.m. by Shubjit Naik (1.4k1613)
 Hi,

I am using RTC CLI lscm tool for RTC source code management.

I have a requirement to checkout a history changeset and compile the code to a binary.

And I also want to see the changeset info such as owner/email/comment.

Is there a way to do this through lscm CLI ?

Thanks.

One answer



permanent link
Shashikant Padur (4.1k27) | answered May 25 '15, 6:45 a.m.
JAZZ DEVELOPER
edited May 25 '15, 6:46 a.m.
When you say checkout a history change set did you mean that you want to download files in the change set? or did you mean download files from the workspace upto that change set?

If you have the change set uuid you can use 'scm list changes <change set uuid>' command or else you can use 'scm show history -w <workspace> -C <component>' command to show all the changes in a component. Both these commands will provide the details such as who delivered the change set, comment and the date it was delivered.


Comments
Jim Green commented May 26 '15, 10:08 p.m.

I want to do this:


Suppose RTC project is like below:

1. Create a new RTC project.
2. Merge a changeset1 to the project.
3. Merge a changeset2 to the project.
4. Merge a changeset3 to the project.

Now, I want to checkout the code in step 3. The code should include changeset1 and changeset2, but does not include changeset3.

I need the full code after changeset2 was merged, because I need to compile the code to binary.

Your answer


Register or to post your answer.