Rename the view in transparent space.

Can I rename a clear view? If so, how to do it.

I usually give the name of the view based on the fix or enhancements I would make in this view. Upon completion, I end up reusing this view for some other task. I have no problems with other SCMs, I understand, based on its changes in the assembly tree. The box is very slow, if I need to know by the set of changes, it will take me 2-5 minutes.

+4
source share
2 answers

To present a snapshot, you can safely rename the root directory.

But for any view (snapshot or dynamic) check out cleartool mkview -view -replace . It should allow you to replace the tag by actually renaming your view.

First make sure your view is stopped ( cleartool endview -server yourView )

 -rep/lace 

Replaces an existing tag registry entry with a new entry. (An error does not occur if the tag does not exist.)
You can use this option to change tag comments and access paths.
You cannot use -replace to change an existing tag name; to do this, remove the rmtag tag, and then use mktag .

The last part actually indicates the need to remove and then recreate the tag associated with your view.

First, make sure cleartool lsview -l -full -pro yourView to get all the parameters you need when you recreate the tag with the new name.

+5
source

For dynamic viewing, you can use the following:

 cleartool mktag -view -replace -tag <new view name> -host <Server host> \ -gpath <Global path> <Global path> 

Where Server host and Global path can be obtained from output

 cleartool lsview -l <view name to be renamed> 

Then you remove the renamed view tag ( old view name ) through

 cleartool rmtag -view <old view name> 
+1
source

All Articles