Comparing File Versions Visually

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

To compare files with the Diff command:

  1. In the Explorer, right-click the file, select the submenu for version control commands, and choose Diff Graphical or Diff (for files using the IDE's built-in CVS client).
  2. In the Diff dialog box, select the versions you want to compare by typing their version numbers or dates, and click Run Command.

    If you merely want to compare your working version with the version last checked into the repository, click Run Command without entering any data.

You can click the button to skip to the previous difference in the file and click to skip to the next difference.

You can also compare file versions in the Revision Explorer, a two-pane window that displays the version numbers in a tree and gives status detail for the selected version number. Open the Revision Explorer by right-clicking a version-controlled file's node in the Explorer and choosing Revision Explorer (this command may appear directly on the contextual menu or on the submenu of the version control system). In the Revision Explorer, hold down the Control key, select two versions of the file, right-click one of the selected nodes, and choose Diff from the contextual menu.
See also
The Revision Explorer
Calling Version Control Commands
VCS Filesystems Settings
Global Settings for VCS Filesystems CVS Commands

Legal Notices