p4 fixes
List jobs and the changelists that fix them.
Syntax
p4 [g-opts] fixes [-i] [-m max] [-j job] [-c changelist] [FileSpec[revSpec]]
Description
After a job has been linked to a particular numbered changelist with
p4 fix, p4 change, or p4 submit, the job is 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 change changelist on date by user (status)
You can limit the listed fixes by combining the following options when
calling p4 fixes:
- Use the
-c changelistoption to list only the jobs fixed by that pending or submitted changelist. - Use the
-j joboption to list only those pending or submitted changelists that fix that 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
-ioption with a file pattern argument to include fixes made by changelists that were integrated into the specified files. - Use the
-m maxoption to limit the output to the firstmaxfixes.
This command runs in lockless mode if db.peeking is
set to r
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 |
|
The command returns no output if there is no object to report on.
Examples
|
|
Display all fixes made by submitted changelists that included
any files under |
|
|
Display all fixes made by submitted changes that included any
and all revisions of |
|
|
Display all fixes made by submitted changes that included
revisions 1 through 5 of |
|
|
Display only those fixes associated with the changelist in which
|
|
|
Display all jobs fixed by pending or submitted changelist 414. |
Related Commands
|
To create or edit an existing job |
|
|
To list all jobs known to the system |
|
|
To attach a job to a particular changelist; the job is fixed by that changelist |
|
|
To change the format of jobs at your site (superuser only) |
|
|
To read information about the format of jobs at your site |
|






