Previous Topic: Rename an Item


Rename a Path

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

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

To rename a path in the repository

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

    You can edit the path name.

  2. Modify the name, and press Enter.

    The status of the associated project or solution file is updated to a delta symbol, which indicates that a change 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 path is renamed using the rename item process that is set for your context.