Show integrations that have been submitted.
p4 [g-opts] integrated [-b branchname [-r]] file ...
The p4 integrated command shows the integration
history of the selected files, in the format:
file#revision-range -
integrate-actionpartner-file#revision-range
where:
file is the file argument provided to p4
integrated;partner-file is the file it was integrated from
or into; andintegrate-action describes what the user did
during the p4
resolve process, and is one of the
following:
| Integrate Action | What the User Did During the p4 resolve
Process |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If a file toFile was ever integrated from a file
fromFile, and both toFile and
fromFile match the p4 integratedfilepattern argument, each integrated action is
listed twice in the p4 integrated output: once in its
from form, and once in its into
form, as described above.
If the optional -b branch option is used, only files
integrated from the source to target files in the branch view are
shown.
If the optional -r option is provided, the mappings in the
branch view are reversed. This option requires the use of the -b
branch option.
|
|
Only files integrated from the source to target files in the branch view are listed. Qualified files are listed, even if they were integrated without using the branch view. |
|
|
Reverses the mappings in the branch view, swapping the target
files and source files. The |
|
|
See Global Options. |
| Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
|---|---|---|
|
No |
No |
|
When using tagged output with p4 integrated be
warned that the toFile and fromFile values
will be the opposite of how they are presented in the non-tagged
output. The following example shows how the output varies:
$ p4 integrated //depot/main/revisions.h
//depot/main/revisions.h#1 - add into //depot/dev/revisions.h#1
$ p4 -ztag integrated //depot/main/revisions.h
... toFile //depot/main/revisions.h
... fromFile //depot/dev/revisions.h
... startToRev #none
... endToRev #1
... startFromRev #none
... endFromRev #1
... how add into
... change 12345
See Global Options for information on how to enable tagged output.
|
To see a list of integrations that have not yet been resolved |
|
|
To view a list of integrations that have been resolved but not yet submitted |
|
|
To perform an integration |
|
|
To view the actions taken for all revisions of a particular file (including all the files from which that particular file was integrated) |
|