Diffing Multiple Files

You can select multiple text files for diffing at a single time. For example, in the File Browser you might want to choose several files to diff at one time, rather than performing the diff operation on each file individually. When you diff multiple files, AccuRev adds a new set of navigational tools to the toolbar, as shown in the following illustration. Like the tools for a single file diff operation, these tools let you navigate quickly from one diffed file to the next, and show you both how many files in total were diffed, and which diffed file is currently displayed.

GUID-19F31D38-F1C8-4D38-B13A-CE9F744BAEAF-low.png

In this example, the file currently displayed in the Diff tab is locales.xml. One other file was selected for diffing at the same time, as indicated by the value 1 of 2. In this example, you would use either the Next Element or Last Element to display the second diffed file.

Note: You can diff text files only. Examples of text files include files with .TXT, .H, .HPP, .C, and .CPP extensions. You cannot diff binary files. If you select both text and binary files, AccuRev displays a warning and allows you to complete or cancel the diff operation.

To diff multiple files at the same time:

  1. Select the files you want to diff. You can use Ctrl+click and Shift+click to select files.
  2. Run the diff operation (Diff Against Basis, for example). The diff operation is performed against the first of the files you selected. Results are shown in the Diff tab.
  3. To examine the diffs, click the Next Element button, as shown in the following illustration:

    GUID-4492812C-352E-4D07-ADFB-C425345BAFF9-low.png