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?
I am not sure which API you are using, but you will want to use the equivalent of the 'p4 filelog' command.
Example output:
Taking a look at changelist 471, we can see what the actions on the files were, but not where they were branched from or to:
Hope this helps, Jen.