Comparing File Revisions in CVS

See Also

The Diff command compares different revisions of a file and displays the differences found graphically.

Comparing File Revisions Graphically

The IDE's Graphical Diff Viewer enables you to compare different versions of a file side by side using color coding to emphasize the differences between the files being compared.

The previous (Last difference button) and next (Next difference button) difference buttons in the toolbar enable you to navigate among the differences in the file. You can also refresh the status and update files from within the Diff Viewer using the Refresh Diff (Last difference button) and Update (Last difference button) buttons. When you are finished comparing the files, you can commit your changes using the Graphical Diff Viewer's Commit button (Last difference button).

The Graphical Diff Viewer's highlights changes in the files using the following colors:

To generate a graphical diff comparing a revision to your working copy:

  1. Right-click the appropriate file node in the Projects, Files, or Versioning window.
  2. Choose Diff from the pop-up menu.

The IDE displays the results in the Graphical Diff Viewer in a new tab of the main window.

See Also
Merging File Revisions
Resolving Merge Conflicts
Creating and Applying a Patch

Legal Notices