ccollab addardiffs

Applies to Collaborator 14.6, last modified on November 06, 2024

Description

The ccollab addardiffs command uploads differences between arbitrary versions of files in AccuRev. The differences are generated using the native accurev diff command of AccuRev.

Command Line Syntax

ccollab [global-options] addardiffs [--upload-comment <value>] <review> [<user-diff-arg> [<user-diff-arg> ...]]

Command Options

Option

Required?

Description

--upload-comment <value>

No

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

<review>

Yes

Identifier of the desired review (an integer number), or a new, ask, or last keyword. Where keywords define the following behaviour:

  • new - the command will create a new review,
  • ask - the command will pause execution and prompt for the identifier of the desired review,
  • last - the command will use the last review that was created on the current machine via Command-Line Client (that is, it does not know about reviews created elsewhere).

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

No

Command-line arguments to pass directly to the diff command

Examples

ccollab addardiffs 698 -a -b -v "My Stream"

Remarks

  • Do not use diff arguments that affect the diff output such as -c or -G. The Collaborator command-line client will automatically select an output format that ensures you will get all the data you need on the server.

  • This command does not upload added or deleted files due to AccuRev limitations.

See Also

ccollab
AccuRev Integration
ccollab addchangelist (for AccuRev)
ccollab addchanges (for AccuRev)

Highlight search results