Using the API of perforce, I'm going over the history of all the changelists and I need to output a log with all the actions taken in perforce.
For Branching and Merging I want to log the source and target of the action but I can't seem to find it. Not in the changelist class nor in the FileMetaData class.
Perforce keeps the data in the history for every file that was effected by the change but I want to get the general action that was performed. e.g. Branch from //Main/Sample to //Main/Sample-Branch OR Merge from //Main/X to //Main/Releases/A.
Anywhere I can find this data?
What you're looking for is the FileIntegrationRecord(s) for the file revisions in the changelist as returned by Repository.GetSubmittedIntegrations, or possibly the RevisionIntegrationSummary returned by Repository.GetFileHistory.