How to Rename a View in ClearCase


1). Stop the view.
Run cleartool endview <view-tag>

Note: For ClearCase only, any host that has a dynamic view started with the old name after the rename has been completed will need to be rebooted to clear the MVFS.


2). Kill the view_server process. Run cleartool endview -server <view-tag>

Note: Stopping the ClearCase services on the host will also kill the process; refer to technote 1134178 for directions on stopping the services.


3). Remove the view-tag.
Run cleartool rmtag -view <view-tag> to untag the view.


4). Remove the ClearCase registry entry.
Run cleartool unregister -view <view-storage-pname>.vws to unregister the view object.


5). Rename the view storage directory:
UNIX or Linux
mv <old-view-storage> <new-view-storage>.vws
Windows
rename <old-view-storage> <new-view-storage>.vws


6). Register the new name of the view storage.
Run cleartool register -view <view-storage-pname>.vws


7). Create a new tag for the view.
Run cleartool mktag -view -tag <view-tag> <view-storage-pname>.vws


8). Start the view.
Run cleartool startview <new-view-tag>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章