Flags for the revert command.

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

Syntax

C#
[FlagsAttribute]
public enum RevertFilesCmdFlags
Visual Basic
<FlagsAttribute> _
Public Enumeration RevertFilesCmdFlags
Visual C++
[FlagsAttribute]
public enum class RevertFilesCmdFlags

Members

Member nameValueDescription
None0 No flags.
UnchangedOnly1 The -a flag reverts only files that are open for edit or integrate and are unchanged or missing. Files with pending integration records are left open. The file arguments are optional when -a is specified.
Preview2 The -n flag displays a preview of the operation.
ServerOnly4 The -k flag marks the file as reverted in server metadata without altering files in the client workspace.

See Also