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
)
-rep/lace
Replaces an existing tag registry entry with a new entry. (No error occurs if the tag does not exist.)
You can use this option to change the tag comment and access paths.
You cannot use -replace
to change an existing tag's name; to do this, delete the tag with rmtag
and then use mktag
.
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 yourView
first, in order to get all the parameters you will need when recreating the tag with the new name.