MoveFileCmdFlags Enumeration
|
Flags for the move command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2025.1.277.3624
Syntax[FlagsAttribute]
public enum MoveFileCmdFlags
<FlagsAttribute>
Public Enumeration MoveFileCmdFlags
[FlagsAttribute]
public enum class MoveFileCmdFlags
[<FlagsAttribute>]
type MoveFileCmdFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
No flags.
|
| Force | 1 |
The -f flag forces a move to an existing target file. The file
must be synced and not opened. The originating source file will
no longer be synced to the client.
|
| Preview | 2 |
The -n flag previews the operation without moving files.
|
| ServerOnly | 4 |
The -k flag performs the rename on the server without modifying
client files. Use with caution, as an incorrect move can cause
discrepancies between the state of the client and the corresponding
server metadata.
|
| MatchMoves | 8 |
The -M flag matches already opened files for add and delete in the
default or specified changelist and reopens them as a move.
|
| DisableParallel | 16 |
Auto parallel move is turned off by
unsetting the net.parallel.threads configurable. A user may override
the configured auto parallel move options on the command line, or may
disable it via 'p4 move -M --parallel=0'.
|
See Also