Previous Topic: Remove a PathNext Topic: Rename a Path


Rename an Item

In Visual Studio, you can rename a file in the local workspace and the corresponding item will be renamed in the CA Harvest SCM repository.

Note: A rename item process is required. If the CA Harvest SCM administrator has not defined a rename item process and granted you access to run it, you cannot use Visual Studio to rename a file in the CA Harvest SCM repository. In addition, rename item is not supported for Online mode. For more information about creating processes, see the Administrator Guide.

To rename an item in the repository

  1. In the Solution Explorer, right-click the file that you want to rename, and select Rename from the shortcut menu.

    You can edit the file name.

  2. Modify the name, and press Enter.

    The statuses of the file that is renamed and its associated project or solution file are updated to delta symbols, which indicate that changes occurred in the project or solution.

  3. Right-click the project or solution file and select CA Harvest SCM, Commit from the shortcut menu.

    The item is renamed using the rename item process that is set for your context.