ChangeCmdFlags Enumeration
|
Flags for the change command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum ChangeCmdFlags
<FlagsAttribute>
Public Enumeration ChangeCmdFlags
[FlagsAttribute]
public enum class ChangeCmdFlags
[<FlagsAttribute>]
type ChangeCmdFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
No flags.
|
| Delete | 1 |
The -d flag deletes a pending changelist, if it has no opened files
and no pending fixes associated with it. Use 'p4 opened -a' to
report on opened files and 'p4 reopen' to move them to another
changelist. Use 'p4 fixes -c changelist#' to report on pending
fixes and 'p4 fix -d -c changelist# jobs...' to delete pending
fixes. The changelist can be deleted only by the user and client
who created it, or by a user with 'admin' privilege using the -f
flag.
|
| Output | 2 |
The -o flag writes the changelist specification to the standard
output. The user's editor is not invoked.
|
| Input | 4 |
The -i flag reads a changelist specification from the standard
input. The user's editor is not invoked.
|
| Force | 8 |
The -f flag forces the update or deletion of other users' pending
changelists. -f can also force the deletion of submitted changelists
after they have been emptied of files using 'p4 obliterate'. By
default, submitted changelists cannot be changed. The -f flag can
also force display of the 'Description' field in a restricted
changelist. The -f flag requires 'admin' access granted by 'p4
protect'. The -f and -u flags are mutually exclusive.
|
| Update | 16 |
The -u flag can force the update of a submitted change by the owner
of the change. Only the Jobs, Type, and Description fields can be
changed using the -u flag. The -f and -u flags cannot be used in
the same change command.
|
| IncludeJobs | 32 |
The -s flag extends the list of jobs to include the fix status
for each job. On new changelists, the fix status begins as the
special status 'ignore', which, if left unchanged simply excludes
the job from those being fixed. Otherwise, the fix status, like
that applied with 'p4 fix -s', becomes the job's status when
the changelist is committed. Note that this option exists
to support integration with external defect trackers.
|
See Also