Which Versions are Diffed

As described in the previous section, AccuRev uses a diff operation to provide versions of a given element to Atlassian Crucible. In most cases, AccuRev determines which Diff Against operation to use based on the active view at the time you select the element for code review. For example, if you select an element from the Timeline Diff view, AccuRev diffs the versions at the start and end of the time period you specify. The following table summarizes the type of diff operation that AccuRev performs based on the current AccuRev view.

AccuRev View Type of Diff Performed Description
Timeline Diff Diff Automatically diffs versions of the selected element at the start and end of the specified time period.
History Browser Diff Against Previous Transaction Automatically diffs the selected element against the version in the most recent transaction in which there was a content change.
Issue Edit Form Diff Against Basis Automatically diffs the selected element against the basis version.
Issue Diff View Diff Against Basis Automatically diffs the selected element against the basis version.
File Diff View Diff Diff Automatically diffs versions of the selected element in the selected streams.
File Browser User chooses one of the following:
  • Backed
  • Basis
  • My Changes
Allows you to choose which diff operation to use. See Use the File Browser to Choose the Diff Operation for more information.

For more information on Diff operations, see Diffing Files in AccuRev.