p4 fixes

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 change changelist on date by user (status)

You can limit the listed fixes by combining the following options when calling p4 fixes:

Note

This command now runs in lockless mode if db.peeking is set to r.

Options

-c changelist

Limit the displayed fixes to those that include the specified changelist.

-i

Include fixes made by changelists that affected files integrated into the specified files.

-j jobname

Limit the displayed fixes to those that include the specified job.

-m max

List only the first max fixes.

g-opts

See Global Options.

Usage Notes

Can File Arguments Use Revision Specifier? Can File Arguments Use Revision Range? Minimal Access Level Required

Yes

Yes

list

Examples

p4 fixes //depot/proj1/...

Display all fixes made by submitted changelists that included any files under //depot/proj1.

p4 fixes file.c

Display all fixes made by submitted changes that included any and all revisions of file.c.

p4 fixes file.c#5

Display all fixes made by submitted changes that included revisions 1 through 5 of file.c.

p4 fixes file.c#5,5

Display only those fixes associated with the changelist in which file.c#5 was submitted.

p4 fixes -c 414

Display all jobs fixed by pending or submitted changelist 414.

Related Commands

To create or edit an existing job

p4 job

To list all jobs known to the system

p4 jobs

To attach a job to a particular changelist; the job is fixed by that changelist

p4 fix

To change the format of jobs at your site (superuser only)

p4 jobspec

To read information about the format of jobs at your site

p4 jobspec -o