ccollab addcvsdiffs

Applies to Collaborator 14.6, last modified on July 10, 2024


The ccollab addcvsdiffs command uploads differences between arbitrary versions of files in CVS. The differences are generated using the native cvs diff command of CVS.

Command Line Syntax

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

Command Options




--upload-comment <value>


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



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



Specifies whether to skip the -N --new-file argument of the cvs diff command.

By default, the diffs generated by Collaborator contain information about new files. Use -skipN argument to generate diffs for already committed files.

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


Command-line arguments to pass directly to the diff command


Do not use diff arguments that affect the diff output such as -u -U --unified, -c -C --context, --brief, -e -ed, -f --forward-ed, -n --rcs, or -y --side-by-side. The Collaborator command-line client will automatically select an output format that ensures you will get all the data you need on the server.


To upload the changes between labels build-391 and build-401:

ccollab addcvsdiffs review -skipN -r build-391 -r build-401

To upload the changes between dates 2006-01-01 and 2006-02-01:

ccollab addcvsdiffs review -skipN -D 2006-01-01 -D 2006-02-01

To upload the changes in the last 7 days:

ccollab addcvsdiffs review -skipN -D "7 days ago"

See Also

CVS Integration
ccollab addchanges (for CVS)
ccollab commit (for CVS)

Highlight search results