Reverting files

You can discard changes made to open files, reverting them to the revisions last synced from the depot. Reverting files also removes the reverted files from the pending changelist with which they are associated.

When you revert files that you:

Note

Reverting a file that has been opened for edit will overwrite any changes you have made to the file since the file was opened.

To revert files:

  1. Select one of the following:

  2. From the Actions menu, select one of the following:

  3. If P4V detects any changes, the Revert dialog box opens:

    1. Select the changes you want to revert.
    2. If you also want to delete files that were open for add from the workspace, select the relevant check box.

      Otherwise, P4V removes the add request but keeps the file in the workspace.

    3. To prevent the Revert dialog from opening when reverting files, select the relevant check box.
    4. Click Revert.
    5. If you chose to delete files that were open for add from the workspace, click Delete Files to confirm.

      Warning

      You cannot revert this action.