Deleting a Project from the Depot

By default, when you delete a project, its files are marked for delete in Perforce and deleted when you submit the changelist that contains them. If you disable the Enable support for Workbench edit, delete, rename and refactoring operations preference, you must manually open the files for delete if you intend to remove them from the depot

To delete files that are under Perforce control, you open the files for delete, then submit the changelist in which they are open. Perforce adds a file revision marked "deleted" to the depot (but retains all previous revisions), and deletes the files from your workspace. Note that deleting the files from the depot does not remove them from WebSphere Studio Application Developer. If you are getting rid of the project completely, delete it from the Perforce depot first, then from WebSphere Studio Application Developer.

To delete a project from the depot:

  1. In the Package Explorer view, right-click the project and choose Team>Mark for Delete... Project files are removed from the list.
  2. In the P4 Pending Changelist view, right-click the changelist that contains the files to be deleted and choose Submit... The Perforce Change Specification is displayed.
  3. Enter a description and click Submit.

Copyright Perforce Software 2003-2017. All Rights Reserved.