Most Diff Against commands allow you to compare a text file in your workspace with another version of the same file. AccuRev uses the diff tool you have configured, this can be AccuRev’s own diff tool, the Eclipse tool, or a third-party tool that you specify. See Using Alternative Diff and Merge Tools.
Compares your file with another version. Only text files can be compared.
|Diff Against > Backed Version||Compares your file with the version currently in the workspace's backing stream.|
|Diff Against > Most Recent Version||Compares your file with the version in the workspace stream (in the AccuRev depot). Typically, the workspace stream contains the version you most recently created with Keep, so this command helps answer the question, “What have I changed since my last Keep?” The workspace stream might contain the version you brought into your workspace with Update AccuRev Workspace, or the version you recently Promoted. In these cases, the command is equivalent to Diff Against > Backed Version.|
|Diff Against > Basis Version||Compares your file with the version you most recently brought into your workspace with Update AccuRev Workspace. However, if you have Promoted the file since the update, the comparison is with your most recently promoted version.|
|Diff Against > File on Disk||Allows you to compare a text file in your workspace with some other file (either on the hard disk, or available via a networked machine).|
Ignore Options for AccuRev Diff
If you are using the AccuRev Diff tool, you can specify whether or not you want AccuRev to ignore one or more of the following:
- Whitespace (whitespace is ignored by default)
- Changes in whitespace
Ignore options for AccuRev Diff are specified on the AccuRev page of the Preferences dialog box. See Setting AccuRev Preferences in Eclipse for more information.