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.
In its simplest form, p4 integrate -b branchname -s fromFile allows you to integrate files using the source/target mappings included in the branch view of branchname , but include only those source files that match the patterns specified by fromFile .
When you check out a file, Perforce adds information about the file to a changelist and changes the writable attribute of the file in your local workspace from read-only to read/write. A changelist defines a logical grouping of work across a set of files and folders.
Description. The p4 clean command takes the following actions when finding inconsistencies between files in a user's workspace and corresponding depot files: Files present in the workspace, but missing from the depot are deleted from the workspace. Files present in the depot, but missing from your workspace.
p4 reopen has the following uses for a stream: To move an open stream from its current pending changelist to pending changelist changelist , use p4 reopen -So -c changelist. To move a stream to the default changelist, use p4 reopen -So -c default.
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'.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With