Is there any way to retrieve the list of merged file?
3 answers
Hi,
there is a good article on SCM archaeology in jazz.net, highlighting how to retrieve historical information about change sets and files. Does the information help you?
For latest RTC 4.0.5 you will want to consider the changes introduced by advanced gap merge handling as detailed in the improved gap handling article.
Please mark this answer as accepted if it contains the info you were looking for.
Thanks,
Arne
there is a good article on SCM archaeology in jazz.net, highlighting how to retrieve historical information about change sets and files. Does the information help you?
For latest RTC 4.0.5 you will want to consider the changes introduced by advanced gap merge handling as detailed in the improved gap handling article.
Please mark this answer as accepted if it contains the info you were looking for.
Thanks,
Arne
I'm not sure if this is exactly what you are looking for, but:
See IChangeSet.changes() for a list of changes in the change set.
Now see IChange.mergeStates(). If it's null, then the change has not been merged.
Also, if you only care about files and not folders, you can use:
if (IChange.item() instanceof IFileItemHandle)
See IChangeSet.changes() for a list of changes in the change set.
Now see IChange.mergeStates(). If it's null, then the change has not been merged.
Also, if you only care about files and not folders, you can use:
if (IChange.item() instanceof IFileItemHandle)
The way we get a list of merged files is as follows:
Snapshot your stream before files are merged, merge your files, and take another snapshot after the merge process. Once you have those 2 snapshots, they can be compared to show your changes. We use the generateChangeLog.ant to generate the changes which accepts 2 snapshots and compares the differences in them.
I believe there is a way to compare 2 snapshots within RTC itself though, if you just want to validate the merge process.