ccollab addp4diffs

Applies to Collaborator 11.5, last modified on December 21, 2021

Description

The ccollab addp4diffs command uploads differences between arbitrary versions of files in Perforce. The differences are generated using the native p4 diff2 command of Perforce.

Command Line Syntax

ccollab [global-options] addp4diffs [--upload-comment <value>] <review> [<p4-diff-arg> [<p4-diff-arg> ...]]

Command Options

Option

Required?

Description

--upload-comment <value>

No

Comment used to upload files (defaults to command-line arguments)

<review>

Yes

Must be either an integer review-id, 'new', 'ask', or 'last'

<p4-diff-arg> [<p4-diff-arg> ...]

No

Options which should be passed to the p4 diff2 command

Remarks

Do not use diff arguments that affect the diff output such as -q, -t, -d<flag>, or -s<flag>. The Collaborator command-line client will automatically select an output format that ensures you will get all the data you need on the server.

Examples

ccollab addp4diffs 698 //depot/file1 //depot/file2

ccollab addp4diffs new //depot/...@1523 //depot/...

ccollab addp4diffs 698 -b my-branch

See Also

Perforce Integration
ccollab addchangelist (for Perforce)
ccollab addp4job
ccollab addversions (for Perforce)
ccollab commit (for Perforce)

Highlight search results