Other options for comparing files or folders

We have seen the basic use of drag-and-drop for comparing files or folders, primarily from the History tab. It is worth noting that you can change drag-and-drop behavior by going to Edit | Preferences | Behavior | Enable diff comparisons on file-to-file drag and drop.

There are a number of other useful options for comparisons which we will discuss in this section.

Showing local changes for edited files

In Chapter 3, Basic Functions, we saw the Diff Against Have Revision option (with shortcut Ctrl + D). This option makes more sense now that we know that the have revisions (or #have) is the revision currently synced to our workspace. So we are comparing any local changes we have made with the revision we ...

Get Learning Perforce SCM now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.