The Diff command compares different revisions of a file and displays the differences found 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 () and next (
) 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 (
) and Update (
) buttons. When you are finished comparing the files, you
can commit your changes using the Graphical Diff Viewer's Commit 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:
The IDE displays the results in the Graphical Diff Viewer in a new tab of the main window.