Fix command options.

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)

Syntax

C#
public Options(
	FixJobsCmdFlags flags,
	int changelistId,
	string status
)
Visual Basic
Public Sub New ( _
	flags As FixJobsCmdFlags, _
	changelistId As Integer, _
	status As String _
)
Visual C++
public:
Options(
	FixJobsCmdFlags flags, 
	int changelistId, 
	String^ status
)

Parameters

flags
Type: Perforce.P4..::..FixJobsCmdFlags
changelistId
Type: System..::..Int32
status
Type: System..::..String

Return Value

Remarks


p4 help fix

fix -- Mark jobs as being fixed by the specified changelist

p4 fix [-d] [-s status] -c changelist# jobName ...

'p4 fix' marks each named job as being fixed by the changelist
number specified with -c. The changelist can be pending or
submitted and the jobs can open or closed (fixed by another
changelist).

If the changelist has already been submitted and the job is still
open, then 'p4 fix' marks the job closed. If the changelist has not
been submitted and the job is still open, the job is closed when the
changelist is submitted. If the job is already closed, it remains
closed.

The -d flag deletes the specified fixes. This operation does not
otherwise affect the specified changelist or jobs.

The -s flag uses the specified status instead of the default defined
in the job specification. This status is reported by 'p4 fixes'.
The 'p4 fix' and 'p4 change' (of a submitted changelist) and 'p4 submit'
(of a pending changelist) commands set the job's status to the fix's
status for each job associated with the change. If the fix's status
is 'same', the job's status is left unchanged.

See Also