duddu venkatesh
duddu venkatesh

Reputation: 138

Is there any way to read the file present in change list using python perforce?

I have change list. I am able to list out the files present in change list but I want to load the file present in change list with the changes. Is there any way using python perforce scripting?

Upvotes: 0

Views: 1298

Answers (1)

Samwise
Samwise

Reputation: 71574

You don't say how you're currently listing out the files, but I assume it's some form of the p4 files command, using either the CLI or the P4Python API? In either case, use p4 describe (on the changelist) to see the diffs, or p4 print (on the revisions returned by p4 files) to get the content of an individual file.

Upvotes: 1

Related Questions