すべてのバージョン
Crucible 4.2 DocumentationCrucible 4.1 Documentation
Crucible 4.0 Documentation
More...
Crucible allows you to review a change before it has been committed. To do this, you upload a patch file to the 'Patch' tab when creating a review.
Screenshot: Patch tab
To create a patch in CVS, use the cvs diff -Nu command from your workspace. For example:
cvs diff -Nu > patch.txt
To create a patch in Subversion, use the svn diff command from your workspace. For example:
svn diff > patch.txt
svn diff does not print any information about files copied in the workspace.
To create a patch in Perforce, you must ensure you have set P4DIFF to point to a GNU-compatible diff program.
Then use p4 diff -du to generate a patch for changed files. For example:
p4 diff -du > patch.txt
Then do a p4 opened to find added and deleted files. For added files, append them individually to the patch using GNU diff:
diff -u path_to_added_file /dev/null >> patch.txt
You can follow a similar procedure with deleted files using p4 print to extract the previous version of the file.
A future version of Crucible will include helper tools to assist in this process.