In Visual Studio, you can rename files in the local workspace and their corresponding items 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. For more information about creating processes, see the Administrator Guide. In Release 12.6, you can rename a file in Online mode also without switching to Late Binding mode.
Follow these steps:
You can edit the file name.
In Late Binding Mode, the file (or project) and its associated project (or solution) is edited and pending changes view is updated with the same.
In Online Mode, the file (or project) is renamed and its associated project (or solution) will get checked-out in local workspace and repository. You can commit or undo the changes.
The item is renamed using the rename item process that is set for your context.
(Or)
Right-click the project or solution file and select CA Harvest SCM, Undo.
The rename operation is undone and the project file is back the previous state.
Note: A delete version process is required to perform undo. If the CA Harvest SCM administrator has not defined a delete item process and granted you access to run it, you cannot perform undo of rename.
Example:
Solution 'SolutionABC'
Project ClassLibraryProject
Item Class.cs
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|