It's all about the answers!

Ask a question

How to get a list of files changed between 2 given dates?


Reji Kumar (611) | asked Jul 01 '14, 6:42 a.m.

Hi,

In RTC , I would like get a list of files that have changed between 2 given dates. Is there any SCM command of API that I can use to achieve this ? Files could be associated with different change sets and work items.

In other words, I have a set of text files , most of which wont change across product releases. But a few files do get modified , and I want to get a list of those that changed , since last release .

One answer



permanent link
Shashikant Padur (4.1k27) | answered Jul 01 '14, 7:27 a.m.
JAZZ DEVELOPER
In the scm command line you can use "list changesets" command which accepts before and after date. Once you retrieve the change sets you can loop over them and for each change set you can use "list changes" command to retrieve the changes/files.

"list changesets" can also take in a workitem and it will list all the change sets attached to the workitem.

Run 'scm help list changesets' and 'scm help list changes' for more information.

Your answer


Register or to post your answer.