Clean up files and directories
To clean up the file system objects that are not under control of Helix Core 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 box 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.
- If you want to clean up the files and folders listed with Ignore files with P4IGNORE, clear the Apply P4IGNORE files for this workspace check box.
-
P4V compares your workspace to the depot again and also lists applicable files that were previously excluded in the respective section.
- Click Clean.
- In the Confirm Deleting and Reverting Files dialog box, click Continue to confirm the operation.