Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

View all change sets via SCM command

 Hi There,

I am wondering whether there is a way to view all file names in a change set via SCM command. I'm using RTC 3.0.1.2, and appears someone ever raised this question 2 years ago.

Another thing I'm also interested is:
Is it possible to get all change sets from a stream/baseline? - I want to get the change sets from all the team members.

Could you kindly take a look at this problem?

Thanks,
Wei.

2

0 votes


Accepted answer

Permanent link
In 3.x, 'scm list changeset' will list you the file names (not the content) in the change set.
In 4.0, the above subcommand got renamed to 'list changes'. 'list changeset' will now list the change sets in a workspace/stream/component/baseline and it has other options similar to the menu item Search->Jazz Source Control->Change Sets... in the Eclipse client.
Wei Huang selected this answer as the correct answer

2 votes

Comments

Thanks Shashikant. The <ls> command is quite useful for me.


BTW: I found a command <history> could get the change sets in a Stream.
And it appears "scm history" returned 10 records by default and said: there may be additional history before this point.

I noticed there is a parameter "-m" to specify the number of maximum results - like this
scm history -m 50
However, is there a way to return ALL the records?

BTW: The performance of command "scm history -m 50" is pretty bad - I always can't wait for its results returning to cancel the command as it's too slow.

Thanks in advance.

The comment above is somewhat contradictory. On one hand, you ask for a way to ask for all the results, not just a specified number. On the other hand, you say that asking for the specified number is too slow (which is why there is no -all option). Or are you asking for a way to request a specified chunk of the history, e.g. "scm history -from 50 -to 60" ?

My ultimate goal is to get ALL results - so 50 is only for testing. If the number of all results is larger than 50, then I have to try another number, e.g. 100.


One other answer

Permanent link
Enhancement 103709  was opened from that post you linked to and in that ER it said that 'scm diff changeset <cs-selector>' shows the contents of a change set.
Is that what you were looking for?

0 votes

Comments

Sorry, Karl, I'm not going to compare the changeset between 2 snapshots. My ultimate goal is to find out all the changed files in a Stream, and then update the copyright header via a script.

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Aug 15 '12, 2:42 a.m.

Question was seen: 10,019 times

Last updated: Aug 17 '12, 2:23 a.m.

Confirmation Cancel Confirm