Is there any way to retrieve the list of merged file?
![]()
Yasuyuki Kubota (34●10●15)
| asked Dec 20 '13, 12:32 a.m.
retagged Dec 24 '13, 2:47 p.m. by David Lafreniere (4.8k●7)
I want to retrieve the list of merged file for the reviewing the result of merging.
The merged file means the files has already resolved conflict(merged) in the past. Anyone feel like giving me a hand? |
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 |
![]()
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) |