My target is to provide a function with a branch name (or path) and in return reply back with a details like -
I am aware of p4 describe but not sure, if I can use that or how using p4 api for Java.
Appreciate if you can suggest me relevant methods to look into so that I can investigate further in them.
One useful way to approach this is:
p4 changes //depot/path/to/branch/...
This will give you a list of the changes, who made them, and when.
To find the files for each change, as you already have seen,
p4 describe -s change#
So issue the changes command first, to get the list of changes, then for each change, describe it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.