How to get FileItem from a FileHandle?
Hi Jazz Team,
I want to retrieve all file changes from a work item including the authors and the filenames. I have reached the stage where I can get the File IDs. How can I get the FileItem from the FileHandle to get the contributor and file names? My code:
Thanks Nac |
One answer
You can get the full state from:
(IFileItem)SCMPlatform.getWorkspaceManager(repo).versionableManager().fetchCompleteState(remoteHandle, progressMonitor) Note that the versionable handle should be the beforeState or afterState of your IChange. Sometimes those fields are null (in the cases of a change that shares a file, or a change that deletes a file). On Mon, 03 Aug 2009 13:37:59 -0400, Nac <naziakc> wrote: Hi Jazz 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.