Removing all GlobalDefinition hyperlinks

To remove all GlobalDefinition hyperlinks that connect local copies in the VOB to global types in the administrative VOB:

  1. 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
    ...

  2. 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

  3. Remove each hyperlink with the rmhlink command:

    cleartool rmhlink GlobalDefinition@58@\dev
    Removed hyperlink "GlobalDefinition@58@\dev".


Feedback