Changing mastership of a global type
Mastership is managed separately for global types and their local copies.
About this task
Changing mastership of a global type does not change the mastership of its local copies. Likewise, changing the mastership of a local copy does not change the mastership of the global type or any other local copies.
For example, the global label type RELEASE-3.0 is mastered by the San Francisco replica in the VOB family \admin_dev, and the local copy in the VOB \dev is mastered by the San Francisco replica in the VOB family \dev:
cleartool describe –fmt "%n\n %[master]p\n %[type_scope]p\n" lbtype:RELEASE-3.2@\admin_dev
RELEASE-3.2
SFO@\admin_dev
global
cleartool describe –local –fmt "%n\n %[master]p\n %[type_scope]p\n" lbtype:RELEASE-3.2@\dev
RELEASE-3.2
SFO@\dev
local copy
When the mastership of the global type is transferred to the BOS replica, the mastership of the local copy remains the same:
multitool chmaster BOS@\admin_dev lbtype:RELEASE-3.2@\admin_dev
Changed mastership of label type "RELEASE-3.2" to "BOS@\admin_dev"
cleartool describe –fmt "%n\n %[master]p\n %[type_scope]p\n" lbtype:RELEASE-3.2@\admin_dev
RELEASE-3.2
BOS@\admin_dev
global
cleartool describe –local –fmt "%n\n %[master]p\n %[type_scope]p\n" lbtype:RELEASE-3.2@\dev
RELEASE-3.2
SFO@\dev
local copy
If you enter a chmaster command
in a VOB that does not contain a local copy of the specified type, the command
fails with the message type not found
. For example:
multitool chmaster BOS@\admin lbtype:DOC_SOURCE@\dev
multitool: Error: Label type not found: "DOC_SOURCE".