Perforce 2000.2 Command Reference (2000.2.cr.1)
<< Previous Chapter
p4 files
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 fixes

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 to which it's linked, 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 the Global Options section.

Usage Notes

Can File Arguments Use
Revision Specifier?

Can File Arguments Use
Revision Range?

Minimal Access Level Required

N/A

N/A

open

Examples

p4 fix -c 201 job000141 job002034

Mark two jobs as being fixed by changelist 201.

If changelist 201 is still pending, 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 2000.2 Command Reference (2000.2.cr.1)
<< Previous Chapter
p4 files
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 fixes
Please send comments and questions about this manual to [email protected].
Copyright 1997, 2000 Perforce Software. All rights reserved.
Last updated: 12/21/00