P4Web Release 2005.2 User Guide
[Getting Started]  [How To...]  [Browser Tips]  [Glossary]  [Road Map]  

Reverting Files

The revert command closes opened files by taking them out of your pending changelist instead of submitting them. It also affects your workspace as follows:

You can revert files by:

The Revert Page

Revert... takes you to the Revert page. Select the options you want and click the command button to either preview the revert or revert the files.

Command:
Preview Revert - Click on this button to see a preview of the revert without actually reverting the files.
Revert - Click this button to actually revert the files.

Options:
Restrict to unchanged files - this option causes revert to operate on only the files you have not yet modified in your workspace. (Note that files opened for add, delete, or branch/add, and files that have been resolved, are considered "modified.")
Restrict to changelist (changelist number) - this option causes revert to operate only on the files in the changelist that you select in the drop-down box.

Restricting files
If you came to the Revert Options page with a directory selected, you can select the files to revert.


Copyright 2005 Perforce Software. All rights reserved.