Flags for the revert command.
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)
Syntax
| C# |
|---|
[FlagsAttribute] public enum RevertFilesCmdFlags |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration RevertFilesCmdFlags |
| Visual C++ |
|---|
[FlagsAttribute] public enum class RevertFilesCmdFlags |
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | No flags. | |
| UnchangedOnly | 1 | 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. | |
| Preview | 2 | The -n flag displays a preview of the operation. | |
| ServerOnly | 4 | The -k flag marks the file as reverted in server metadata without altering files in the client workspace. |