Wednesday, February 08, 2006

Rename A Folder In StarTeam

StarTeam doesn't allow to rename a folder. You can rename the folder. But then you will lose the history of the files in this folder. This is not good because the aim of using a configuration management tool is not to lose anything.

There is a way to solve this problem. Say that there is a folder called my-folder. You want to rename the folder as your-folder. Create a new folder in local disk named "your-folder" using StarTeam. Then go to "my-folder". Drag the files in this folder to "your-folder". Select my-file and open History tab. You will see the whole history of the file without losing anything. Then delete my-folder.

You can use this method when using refactoring commands like "Rename File" or "Rename Folder" of your favorite IDE.

No comments: