[Collapse]CodeCollaborator 5
 [Expand]Big Picture/support/viewarticle/20018/
 [Expand]Server Administration/support/viewarticle/20087/
 [Expand]Web User's Guide/support/viewarticle/20071/
 [Collapse]Clients/support/viewarticle/20077/
   Installation/support/viewarticle/20091/
  [Expand]Configuration/support/viewarticle/20226/
  [Expand]GUI Client/support/viewarticle/20059/
  [Collapse]Command Line Client/support/viewarticle/20053/
    Configuration/support/viewarticle/20022/
    Commands/support/viewarticle/20232/
    Graphical Editor/support/viewarticle/20028/
    Uploading Diffs/support/viewarticle/20234/
    Troubleshooting/support/viewarticle/20084/
    Global Options Reference/support/viewarticle/20016/
   [Collapse]Command-line Reference/support/viewarticle/20092/
     help/support/viewarticle/20104/
     info/support/viewarticle/20108/
     login/support/viewarticle/20096/
     set/support/viewarticle/20020/
     addchanges/support/viewarticle/20115/
     addfiles/support/viewarticle/20114/
     addchangelist/support/viewarticle/20101/
     adddiffs/support/viewarticle/20103/
     addsvndiffs/support/viewarticle/20097/
     addardiffs/support/viewarticle/20023/
     addcvsdiffs/support/viewarticle/20095/
     addgitdiffs/support/viewarticle/20111/
     addhgdiffs/support/viewarticle/20110/
     addp4diffs/support/viewarticle/20099/
     addstdiffs/support/viewarticle/20107/
     addvssdiffs/support/viewarticle/20100/
     addversions/support/viewarticle/20106/
     addactivity/support/viewarticle/20109/
     actionitems/support/viewarticle/20102/
     addtrack/support/viewarticle/20112/
     addstream/support/viewarticle/20015/
     browse/support/viewarticle/20113/
     commit/support/viewarticle/20094/
     addp4job/support/viewarticle/20093/
     addurls/support/viewarticle/20098/
    [Expand]admin/support/viewarticle/20105/
   Tray Notifier/support/viewarticle/20049/
   External Diff Viewer launcher/support/viewarticle/20126/
  [Expand]Eclipse Plug-in/support/viewarticle/20029/
 [Expand]Version Control Integration/support/viewarticle/20031/
 [Expand]External Integrations/support/viewarticle/20301/
 [Expand]Techniques & Best Practices/support/viewarticle/20302/
 [Expand]Appendices/support/viewarticle/20078/
Updated: 4/18/2011 Applies To: CodeCollaborator 5 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent

ccollab addfiles

Top Previous Next

Usage: ccollab [global-options] addfiles [--relative-to <value> --upload-comment <value>] <review> <file-path> [<file-path> ...]

addfiles - Attaches local files to a review without diffs

Command Options

Option

Required?

Description

--relative-to <value>

N

Absolute parent path to calculate file-paths relative to if no SCM system

--upload-comment <value>

N

Comment used to upload files (default is "Local changes")

<review>

Y

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

<file-path> [<file-path> ...]

Y

Local files to upload

Uploads local files to the Code Collaborator server. Files are uploaded without a "previous version" so the entire file will be shown without differences.

If you upload the same file path on more than one occasion, the server will start making diffs of each version against the previous.

The server displays the full file system path of the files, unless you specifythe --relative-to option.

It is an error to specify a directory or a file that does not exist.

For example, to upload files foo.txt and c:\dev\bar.txt into a brand new review:

ccollab addfiles new foo.txt c:\dev\bar.txt

To upload file c:\dev\bar.txt into review #62:

ccollab addfiles 62 c:\dev\bar.txt



© 2012 SmartBear Software. All rights reserved.
Email Send feedback on this document