Load all files modified by changetsets linked to an WorkItem via SCMTools
Hi,
Every changeset is associated to an work item. I would like to load the files modified by those changesets via SCMTools.
I think the easier way is to generate a loadrules file to be used with "scm load" command. But my question is: How to generate this loadrule file?
Is there any command to list all change sets associated with an WorkItem? And is there any command to list all files modified within a change set?
Thanks,
Accepted answer
You can list the changes of a change set using the "list changes" command.
Starting 4.0.6, a new --workitems option was added to the "list changesets" command to list the change sets associated with the workitem. You can also list the change sets of dependent workitems associated that workitem by specifying the --include-child-workitems option.
You can use the "get change" command to get the file downloaded to the local disk. Note: This command currently accepts only one file and is not equivalent to load as RTC will not track that file if it is downloaded to a non-sandbox location.
Comments
1 vote