I want to access SVN, CVS, and Git change sets using Java . That is, I need the data that is shown in the "Sync" -view .
I tried several approaches to find the correct use in the code, and here are some documents that I could find (but to no avail):
I managed to access Synchronize-View through TeamUI.getSynchronizeManager() , but not the change sets.
Another thing I tried is to get cangesets via FocusedTeamUiPlugin.getDefault().getContextChangeSetManagers() (got the manager and then ChangeSetProvider where I tried to get ChangeSets), but they are always empty (because they are created when I first name it).
So, how can I access ChangeSets (with Java) in Eclipse (Mylyn)? In the end, I need the number of commits and the code to crash (loC added / removed / edited) . Or is there perhaps a different, better approach?
Any help is much appreciated!
source share