How to fetch all the change-sets between two specific baselines programmatically?
Hi,
My requirement is to fetch all the change-sets between specific baselines by program. I know I can compare these two baselines in RTC client to show all the change-sets between them. However, I want to do the same thing by program.
Does anyone know how to achieve that? It'll be very nice if you can give me direction. Thanks a lot!
My requirement is to fetch all the change-sets between specific baselines by program. I know I can compare these two baselines in RTC client to show all the change-sets between them. However, I want to do the same thing by program.
Does anyone know how to achieve that? It'll be very nice if you can give me direction. Thanks a lot!
2 answers
The scm CLI "compare" command can compare two baselines. If you want to do it with the API, use com.ibm.team.scm.client.IBaselineConnection#compareTo().
References:
https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/compare.html
https://jazz.net/forum/questions/23378/using-api-how-to-compare-two-baselines-to-get-changesets
https://jazz.net/forum/questions/67780/scm-versus-api
References:
https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/compare.html
https://jazz.net/forum/questions/23378/using-api-how-to-compare-two-baselines-to-get-changesets
https://jazz.net/forum/questions/67780/scm-versus-api