Displaying revision history

This section explains how to view the revision history of a file, folder, or changelist. For information on file revisions in labels, see Retrieve file revisions in a label

P4V displays a file's revision history, including integration and label history, on the History tab. This tab works in conjunction with the Depot or Workspace tree. P4V gets all file revisions for the file path or directory selected in the tree, up to the selected changelist. If a file revision is currently in your workspace, it is indicated with a red box: p4v file rev have edit.

Files

To display a file’s revision history:

  1. Select a file in the Depot or Workspace tree.
  2. Do one of the following:

    The History tab opens, listing the revision history for the selected file.

From here, you can:

Folders

To display a folder’s revision history:

  1. Select a folder in the Depot or Workspace tree.
  2. Do one of the following:

    The History tab opens, listing the revision history for the selected folder.

From here, you can:

Changelists

You can get revisions of a changelist from the Submitted tab. Note that this works independently from the Depot or Workspace tree. In the Submitted tab, P4V gets the revision of all the files in the changelist at the specified changelist, regardless of which file or folder is selected in the tree on the left.

To display a changelist's revision history:

  1. From the View menu, select Submitted Changelists.

    P4V opens the Submitted tab, listing submitted changelists.

  2. Do one of the following:

    Warning

    These options immediately force-syncs the files of the respective changelist or changelists to your workspace client. There is no intermediary step that provides you the option to cancel the operation.

    Alternatively, to get a different revision of a changelist into your workspace, right-click the changelist and choose Get Revision. In the Get Revision dialog, specify the files you want to get, the revision number, any applicable options, and click Get Revision.