Click or drag to resize

MergeFilesCmdFlags Enumeration

Flags for the merge command.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
[FlagsAttribute]
public enum MergeFilesCmdFlags
Members
  Member nameValueDescription
None0 No flags.
Preview1 The -n flag displays a preview of the copy, without actually doing anything.
Reverse2 The -r flag causes the direction of the copy to be reversed when used with a branch (-b) or stream (-S) copy.
Force4 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.
SourceBranch8 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