The revert command closes opened files by taking them out of your pending 
  changelist instead of submitting them. Reverting also affects your workspace 
  as follows: 
  
-  When you revert a file opened for edit or integrate, your workspace 
    copy of the file is replaced with a copy of the file from the depot.  
    Changes you made to your workspace copy of the file are lost when you revert! 
     
 
   
  -  When you revert a file opened for add, nothing happens to the file 
    in your workspace. The file is simply removed from your pending changelist. 
  
   
  -  When you revert a file opened for delete, the deleted file is restored 
    to your workspace from the depot.
 
 
  -  When you revert a file opened for branch or add, your workspace 
    copy of the branched file is removed. 
 
You can revert files by:
  - Selecting Revert... from the Action menu at the top of the 
    Files tab. This option displays the Revert page, described below. 
    
 
  
 - Clicking the "Revert unchanged files" shortcut button 
with 
    a directory selected. This option immediately reverts any files opened for 
    edit or integrate under that directory as long as you have not yet modified 
    or resolved them.  
    
  
- Clicking the "Revert unchanged files" shortcut button with a file selected. 
    This immediately reverts the current file if it was opened for edit or integrate 
    as long as you have not yet modified or resolved it. 
 
The Revert Page
 Revert... takes you to the Revert page. Select the options you 
  want and click the command button to preview the revert or revert the files. 
Options: 
  -  Restrict to unchanged files: Revert only the files you have not 
    yet modified in your workspace. (Files opened for add, delete, or branch/add, 
    and files that have been resolved, are considered "modified.")
 
  - Restrict to changelist (changelist number): Revert the files 
    in the selected changelist.