Removing all GlobalDefinition hyperlinks
About this task
To remove all GlobalDefinition hyperlinks that connect local copies in the VOB to global types in the administrative VOB, use the following procedure.
Procedure
- Determine the names of all local copies of global attribute,
branch, element, hyperlink, and label types:
cleartool lstype –local –fmt "%n\t%[type_scope]p\n" –kind attype –invob \dev
Tested local copy
Revision ordinary
...
cleartool lstype –local –fmt "%n\t%[type_scope]p\n" –kind brtype –invob \dev
...
cleartool lstype –local –fmt "%n\t%[type_scope]p\n" –kind eltype –invob \dev
...
cleartool lstype –local –fmt "%n\t%[type_scope]p\n" –kind hltype –invob \dev
...
cleartool lstype –local –fmt "%n\t%[type_scope]p\n" –kind lbtype –invob \dev
... - For each local copy, determine the name and ID of the hyperlink
linking the local copy to its global type. For example:
cleartool describe –local –long –ahlink GlobalDefinition attype:Tested
Tested
Hyperlinks:
GlobalDefinition@58@\dev -> attype:Tested@\admin_dev - Remove each hyperlink with the rmhlink command:
cleartool rmhlink GlobalDefinition@58@\dev
Removed hyperlink "GlobalDefinition@58@\dev".