Download Collaborator v9.3.9300 Manual

Transcript
Uploading Diffs
ccollab adddiffs new /old/directory /new/directory
Uploading Arbitrary Diffs
You can also upload arbitrary differences with the adddiffs command. Assuming textual diffs
have already been generated in a file called diffs.txt, use this:
ccollab adddiffs review diffs.txt
Or you can pipe the results of another diff command right into the ccollab process using a
single dash instead of a file path. For example, this command uses the GNU diff command to
generate a unified diff format, then uploads it directly into review #2534:
diff -u100 dir1 dir2 | ccollab adddiffs 2534 After you upload diffs to the server you will see the "changelist" appear similar to this:
Uploading Differences from Version Control
If you want to upload differences generated by a version control command-line tool, you should
use the ccollab add*diffs command specific to your version control system (if available)
instead of ccollab adddiffs.
Version Control specific add*diffs commands:
· addardiffs
418
(AccuRev
· addcvsdiffs
427
(CVS
· addgitdiffs
442
(Git
419
429
408
)
)
· addhgdiffs
509
(Mercurial
· addp4diffs
544
(Perforce
· addsvndiffs
577
)
503
530
)
(Subversion
© 2003-2015 SmartBear Software
)
561
)
346