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 |
---|---|---|
No |
Upload as paths relative to the before or after directory |
|
No |
Comment used to upload files |
|
Yes |
Must be either an integer review-id, 'new', 'ask', or 'last' |
|
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 |
|
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