Options Constructor (ChangesCmdFlags, String, Int32, ChangeListStatus, String, Int32)
|
Changes command options.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntax public Options(
ChangesCmdFlags flags,
string clientName,
int maxItems,
ChangeListStatus status,
string userName,
int changelist = 0
)
Public Sub New (
flags As ChangesCmdFlags,
clientName As String,
maxItems As Integer,
status As ChangeListStatus,
userName As String,
Optional changelist As Integer = 0
)
public:
Options(
ChangesCmdFlags flags,
String^ clientName,
int maxItems,
ChangeListStatus status,
String^ userName,
int changelist = 0
)
new :
flags : ChangesCmdFlags *
clientName : string *
maxItems : int *
status : ChangeListStatus *
userName : string *
?changelist : int
(* Defaults:
let _changelist = defaultArg changelist 0
*)
-> Options
Parameters
- flags
- Type: Perforce.P4ChangesCmdFlags
- clientName
- Type: SystemString
- maxItems
- Type: SystemInt32
- status
- Type: Perforce.P4ChangeListStatus
- userName
- Type: SystemString
- changelist (Optional)
- Type: SystemInt32
Return Value
Type:
Remarks
p4 help changes
changes -- Display list of pending and submitted changelists
changelists -- synonym for 'changes'
p4 changes [options] [file[revRange] ...]
options: -i -t -l -L -f -r -c client -e changelist -m max -s status
-u user
Returns a list of all pending and submitted changelists currently
stored in the server.
If files are specified, 'p4 changes' lists only changelists that
affect those files. If the file specification includes a revision
range, 'p4 changes' lists only submitted changelists that affect
the specified revisions. See 'p4 help revisions' for details.
If files are not specified, 'p4 changes' limits its report
according to each change's type ('public' or 'restricted').
If a submitted or shelved change is restricted, the change is
not reported unless the user owns the change or has list
permission for at least one file in the change. Only the owner
of a restricted and pending (not shelved) change is permitted
to see it.
The -i flag also includes any changelists integrated into the
specified files.
The -t flag displays the time as well as the date.
The -l flag displays the full text of the changelist
descriptions.
The -L flag displays the changelist descriptions, truncated to 250
characters if longer.
The -f flag enables admin users to view restricted changes.
The -c client flag displays only submitted by the specified client.
The -e changelist# flag displays only changes that are above and
including the specified changelist number.
The -m max flag limits changes to the 'max' most recent.
The -r flag sorts the output in reverse order.
The -s status flag limits the output to changelists with the specified
status. Specify '-s pending', '-s shelved', or '-s submitted'.
The -u user flag displays only changes owned by the specified user.
See Also