Looking to use scm query for finding files that have been modified in a date range. Has anyone done this?
We would like to find all files within a project area or a component that have been modified with a date range.
I assume this is possible using 'lscm query --file" command.
However, I am not able to find the complete details of all the arguments of for the --file option.
http://www.ibm.com/support/knowledgecenter/SS2L6K_6.0.2/com.ibm.team.scm.doc/topics/query.html
One answer
I believe it supports the following:
attribute_name = attribute_value
has_attr(attribute_name)
in_baseline(baseline_uuid)
I don't think you could provide a date as the attribute because the date attribute would be for a change set and not for the file.
scm list changesets --workspace <workspace> --component <component> --created-after <date> --create-before <date>
and then list the changes in each of the change sets returned
scm list changes <changeset uuids...>
Note: The same file may be part of multiple change sets.
Take a look at the help for the above commands for more information