In perforce, how do I list source file of a pending integrate?
-
21-12-2019 - |
Question
I have a pending changelist open with several integrated files. Is there a way to list where (perforce path and revision) these files were integrated from? I'd like to double check that they were integrate from the correct place before submitting.
Solution
To list unresolved integrations, use 'p4 resolve -n'.
To list resolved but unsubmitted integrations, use 'p4 resolved'.
Since you mention you're getting ready to submit, you've probably already resolved the integrations, so use 'p4 resolved'.
OTHER TIPS
You can check if the file is a Lazy Copy (branched files are lazy copies).
Run p4 fstat -Oc
on the file and check the lbrFile
output, it will show you from where this file was integrated.
Also take a look: http://answers.perforce.com/articles/KB_Article/How-to-Identify-a-Lazy-Copy-of-a-File