[导入]删除视图的reference

hi 如果一个view已经被删除了,但是其中的一个activity中还有被checkout的文件,并且该activity的replica和当前的不同,请问: 如何把这个view删除,借助uuid

check out 文件后,系统会在相应VOB的reference中新建一条记录。你可在ClearCase Administrator Console中找到host/vobs/vobxxx/reference. 找到无效的视图然后删除它即可。不过要注意的是,这个视图在当前VOB上的所有check out信息都会被一起删除。


文章来源:http://xbliving.bokee.com/6357893.html 

视图未损坏时的正常情况下,请用remove view功能一次性删除以下内容.
cleartool desc -l vob:\vob_name (显示有在此VOB上check out的视图)
cleartool rmview -all -uuid 44c6f3a0.d7ff11d3.a094.00:01:80:93:2c:7e    (删除此视图及其在所有VOB中的所有check out版本,此步骤可单独执行以清除checkout版本)
cleartool unregister -view -uuid 44c6f3a0.d7ff11d3.a094.00:01:80:93:2c:7e  (注消视图对象)
cleartool rmtag -view joe_view                         (删除视图名称标记)
当view的storage由于各种原因坏了的时候,需要几步才能完全清理掉view在系统里的残留:
1). cleartool rmtag -view -all view_tag
只是清除掉tag,在文件/var/adm/atria/rgy/view_tag的纪录被清除了
2). cleartool unregister -view -uuid view_uuid
清除view object registry, 在文件/var/adm/atria/rgy/view_object的纪录被清除了
3). 还没完
cleartool rmview -uuid view_uuid -avob
posted @ 2008-05-23 09:41  ColorSea  阅读(444)  评论(0编辑  收藏  举报