ccollab adddiffs

Applies to Collaborator 14.7, last modified on December 18, 2024

Description

The ccollab adddiffs command uploads differences between arbitrary versions of files to a review on the Collaborator server.

Command Line Syntax

ccollab [global-options] adddiffs [--relative] [--upload-comment <value>] <review> <before> [<after>]

Command Options

Option

Required?

Description

--relative

No

Upload as paths relative to the before or after directory

--upload-comment <value>

No

Comment used to upload files

<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).

<before>

Yes

If after is also given, a directory of files to treat as base files or file to use as base file (before changes were made).

If no after argument is given, this is a file containing multi-file textual diffs, or '-' to read diffs from stdin

<after>

No

Directory of files to scan for differences or file to use as modified file(after changes have been made)

Examples

  • The following command uploads difference between files .\before and .\after to the last review:

adddiffs last .\before .\after --upload-comment "Example comment"

See Also

ccollab
ccollab addchanges
ccollab addchangelist
ccollab addversions
ccollab addfiles
ccollab commit

Highlight search results