Comparing File Revisions Visually

The IDE provides a two-pane viewer that enables you to compare revisions of version-controlled files side by side. Changed lines are highlighted in blue. Lines that have been added since the earlier revision are highlighted in green. Lines that have been removed are highlighted in red.

To use the Diff command from the Explorer:

  1. In the Explorer, right-click the file and choose the submenu of version control commands. Choose Diff Graphical for generic VCS filesystems or Diff for built-in CVS client filesystems.
  2. In the Diff dialog box, select the revisions you want to compare and click OK. You can type their revision numbers or dates, or click Select to select from a list of all revisions and branches.

    If you want to compare your working copy with the revision last checked into the repository, click OK without entering any data.

You can click the Last difference button button to skip to the previous difference in the file. Click Next difference button to skip to the next difference.

To use the Diff command from the Versioning Explorer:

  1. Open the Versioning Explorer by choosing Versioning and choosing Versioning Explorer from the main window.
  2. Expand a file's node to reveal its revisions.
  3. To compare a revision to your working copy, right-click the revision and choose Diff or Diff Graphical.

    To compare two revisions, hold down the Control key and select the revisions you want to compare. Right-click either revision and choose Diff or Diff Graphical.

See also
Calling Version Control Commands
Global Settings for VCS Filesystems
CVs Commands

Legal Notices