Linking manually

To link a job to a changelist manually, issue the p4 fix -c changenum jobname command. If the changelist has already been submitted, the value of the job’s Status field is changed to closed. Otherwise, the status is not changed.

Example   Manually linking jobs to changelists.

You can use p4 fix to link a changelist to a job owned by another user.

Sarah has just submitted a job called options-bug to Bruno, but the bug has already been fixed in Bruno’s previously submitted changelist 18. Bruno links the job to the changelist by typing:

p4 fix -c 18 options-bug

Because changelist 18 has already been submitted, the job’s status is changed to closed.