CopyFilesCmdFlags Enumeration
|
Flags for the copy command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum CopyFilesCmdFlags
<FlagsAttribute>
Public Enumeration CopyFilesCmdFlags
[FlagsAttribute]
public enum class CopyFilesCmdFlags
[<FlagsAttribute>]
type CopyFilesCmdFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
No flags.
|
| Preview | 1 |
The -n flag displays a preview of the copy, without actually doing
anything.
|
| Virtual | 2 |
The -v flag causes a 'virtual' copy that does not modify client
workspace files. After submitting a virtual integration, 'p4 sync'
can be used to update the workspace.
|
| Reverse | 4 |
The -r flag causes the direction of the copy to be reversed when
used with a branch (-b) or stream (-S) copy.
|
| Force | 8 |
The -F flag can be used with -S to force copying even though the
stream does not expect a copy to occur in the direction indicated.
Normally 'p4 copy' enforces the expected flow of change dictated
by the stream's spec. The 'p4 istat' command summarizes a stream's
expected flow of change.
|
| SourceBranch | 16 |
The -s flag can be used with -b to cause fromFile to be treated as
the source, and both sides of the user-defined branch view to be
treated as the target, per the branch view mapping. Optional toFile
arguments may be given to further restrict the scope of the target
file set. -r is ignored when -s is used.
|
See Also