Is it possible to rename a clearcase view ? If yes how to do it.
I usually give view name based on fix or enhancements that I would make in that view. Once complete I end up reusing that view for some other task. With other SCMs I do not have any problem, I understand based on its changes to the build tree. The clearcase very slow, if I have to know by change set it will take me 2-5 mins.
For a snapshot view, you can rename the root directory safely.
But for any view, (snapshot or dynamic), check
cleartool mkview -view -replace. It should allow you to replace a tag, effectively renaming your view.Make sure your view is stopped first (
cleartool endview -server yourView)The last part actually points out the need to remove and then recreate the tag associated to your view.
Make sure to
cleartool lsview -l -full -pro yourViewfirst, in order to get all the parameters you will need when recreating the tag with the new name.