p4 fixes
Synopsis
List jobs and the changelists that fix them.
Syntax
p4 [g-opts
] fixes
[-i] [-m max
] [-j
job
]
[-c changelist
]
[file
[revRange
]...]
Description
After a job has been linked to a particular numbered changelist with p4 fix, p4 change, or p4 submit, the job is said to have been fixed by the changelist (even if the changelist is still pending). The p4 fixes command lists changelists and the jobs they fix.
If invoked without arguments, p4 fixes displays all fix records. Fix records are displayed in the following format:
jobname
fixed by changechangelist
ondate
byuser
(status
)
You can limit the listed fixes by combining the following options when calling p4 fixes:
-
Use the
-c
option to list only the jobs fixed by that pending or submitted changelist.changelist
-
Use the
-j
option to list only those pending or submitted changelists that fix that job.job
-
Provide one or more file pattern arguments. If you provide a file argument, only submitted changelists affecting files that match the file patterns are listed; pending changelists are not included. If a revision specifier or revision range is included, only submitted changelists that affected files at the given revisions are listed. You can use the
-i
option with a file pattern argument to include fixes made by changelists that were integrated into the specified files. -
Use the
-m
option to limit the output to the firstmax
max
fixes.
Options
|
Limit the displayed fixes to those that include the specified changelist. |
|
Include fixes made by changelists that affected files integrated into the specified files. |
|
Limit the displayed fixes to those that include the specified job. |
|
List only the first |
|
See “Global Options”. |
Usage Notes
Can File Arguments Use Revision Specifier? |
Can File Arguments Use Revision Range? |
Minimal Access Level Required |
---|---|---|
Yes |
Yes |
|
Examples
p4 fixes //depot/proj1/... |
Display all fixes made by submitted changelists that included
any files under |
p4 fixes file.c |
Display all fixes made by submitted changes that included any
and all revisions of |
p4 fixes file.c#5 |
Display all fixes made by submitted changes that included
revisions 1 through 5 of |
p4 fixes file.c#5,5 |
Display only those fixes associated with the changelist in which
|
p4 fixes -c 414 |
Display all jobs fixed by pending or submitted changelist 414. |