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:
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:
Select one of the following:
From the Actions menu, select one of the following:
Revert If Unchanged (for files) or Revert Unchanged Files (for folders and changelists) to revert only files that have not changed (in terms of content or filetype) since they were opened.
The only files reverted are those whose workspace revisions are the following:
Open for add but are missing from the workspace.
Files open for add that are missing but that also have pending integrations will not be reverted.
If P4V detects any changes, the Revert dialog box opens:
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.
If you chose to delete files that were open for add from the workspace, click Delete Files to confirm.
You cannot revert this action.