ccollab addhgdiffs

Top  Previous  Next

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

 

addhgdiffs - Uploads diffs generated by hg diff command

 

Command Options

Option

Required?

Description

--upload-comment <value>

N

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

<review>

Y

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

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

N

Command-line arguments to pass directly to the diff command

 

Upload differences between arbitrary versions of files in Mercurial using 'hg diff'.

 

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

 

For example, to upload all changes between revisions 4 and 8:

 

       ccollab addhgdiffs review -r 4 -r 8

 

To upload all changes in your local working directory:

 

       ccollab addhgdiffs review .