how to get a list of authors of a IResource
hi,
I would like to get the authoring history of a IResource. I am using something like: IShareable shareable = (IShareable)resource.getAdapter(IShareable.class); ISharingDescriptor desc = shareable.getShare().getSharingDescriptor(); ITeamRepository repo = RepositoryUtils.getTeamRepository (desc.getRepositoryUri(), desc.getRepositoryId()); return SCMPlatform.getWorkspaceManager(repo).versionableManager ().fetchCompleteState(shareable.getRemote(), monitor).getModifiedBy(); I guess this is getting the authorhsip corresponding to the local version (the file in the local workspace), since it gets the local IVersionableHandle by using shareable.getRemote() then asking for the author of this version. I would like to one step forward...How could I get a list of authors of this file, the authors should be ones that make changes before current authors (as described above, including current author)? Looks pretty much like "show in->history". Thanks in advance, Owen |
One answer
use
Jean-Michel Jazz Source Control Team |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.