Perforce Command Reference:   [Index] [Prev] [Next]


p4 fix

Synopsis

Link jobs to the changelists that fix them

Syntax

p4 [g-opts] fix [ -d ] -c changelist# jobName ...

Description

The p4 fix command links jobs (descriptions of work to be done) to a changelist (a set of changes to files that does the work described by a job). If the changelist has not yet been submitted, a job will appear on the p4 submit or p4 change form for the changelist it's linked to, and under normal circumstances, the status of the job will be changed to closed when the changelist is submitted. If the changelist has already been submitted by the time you run p4 fix, the job's status will be set to closed as well.

Since described work may be fixed over multiple changelists, one job may be linked to multiple changelists. Since a single changelist might fix ten bugs, multiple jobs can be linked to the same changelist. The latter can done in one command execution by providing multiple jobs as arguments to p4 fix.

Options

-d Delete the fix record for the specified job at the specified changelist. The job's status will not change.
g_opts See global options section.

Usage Notes

Can File Arg Use
Revision Specifier?
Can File Arg
Use Revision Range?
Minimal
Access Level Required
<NA> <NA> open

Examples

p4 fix -c 201 job000141 job002034 Mark two jobs as being fixed by changelist 201. The jobs' status will be changed to closed when the changelist is submitted.

Related Commands

To add or delete a job from a pending changelist p4 change
To add or delete a job from the default changelist p4 submit
To view a list of connections between jobs and changelists p4 fixes
To create or edit a job p4 job
To list all jobs, or a subset of jobs p4 jobs
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



Perforce Command Reference:   [Index] [Prev] [Next]


Copyright 1999 Perforce Software.
Contact us at [email protected]
Last updated: 09/15/99 (Manual version 99.1.cr.6)