Cleaning up files and directories
To clean up the file system objects that are not under control of Helix Server or to restore workspace files to match the state of corresponding depot files, you can select the Clean option on a folder.
Changes performed by the Clean option are permanent. You cannot revert this operation.
To clean files and folders:
-
Select a folder and click Actions > Clean, or right-click a folder and select Clean.
If there are files that need to be cleaned up, the Clean Workspace (Revert to Depot) dialog appears.
P4V compares your workspace to the depot and lists the following files:
- Files that were modified locally without being checked out
- Local files that are not in the depot
- Depot files that are missing from your local workspace
- By default, all files are selected for cleanup. If there are any files that you do not want to clean up, clear the respective check boxes.
-
By default, files and directories listed in
P4IGNORE
files are excluded from cleanup and remain unaffected. If you do want to include such files, clear the Apply P4IGNORE files for this workspace check box.In this case, P4V compares your workspace to the depot again and then also lists applicable files that were previously excluded in the respective section.
- Click Clean.
- In the Confirm Deleting and Reverting Files dialog, click Continue to confirm the operation.