Previous Topic: Update the Workspace From the CA Harvest SCM RepositoryNext Topic: Remove a Project From the Workspace


Remove Files

You may want to remove files from your local workspace, the CA Harvest SCM repository, or both. For example, you may want to remove a file from your local workspace temporarily for testing purposes. Additionally, you may want to remove a file from both the workspace and the repository when it is no longer needed.

To remove a file from the local workspace, the repository, or both

Note: Use the Late Binding mode to perform this operation.

  1. Verify that a remove item process is available in your current context. If the remove item process is not available, do not use the Visual Studio IDE to remove a file from the CA Harvest SCM repository, because your local workspace and the repository will become unsynchronized.

    Note: To define a remove item process, use the CA Harvest SCM Administrator application. For more information, see the Administrator Guide.

  2. Verify that all files that you want delete are not checked out. Deleting a checked out file causes the local workspace and the repository to become unsynchronized.
  3. Select a file in the Solution Explorer and click Delete.

    A confirmation dialog appears.

  4. Click OK.
  5. Select the parent project or solution file, and commit the changes from the project or file to the CA Harvest SCM repository.

    The file is removed from your local workspace and CA Harvest SCM repository.

  6. Read the CA Harvest SCM log to view if the task completed successfully. If the remove process does not work, the CA Harvest SCM repository may not reflect the change. Use the Workbench to fix a problem, and then synchronize your local workspace with the CA Harvest SCM repository.

    Note: You can also exclude files using the Exclude function. This function is a Visual Studio IDE function only. This function excludes the item from the project but does not remove the item from the local workspace or from the CA Harvest SCM repository.