The following sections describe how to list the master replica of an object, list all objects mastered by a particular replica, list the mastership changes for an object, and display settings for mastership requests.
To list an object’s master replica, use one of the following methods:
Command examples:
cleartool describe replica:boston_hub@\dev replica "boston_hub" created 15-Aug-00.14:19:03 by susan.user replica type: unfiltered master replica: boston_hub@\dev ...
cleartool describe –fmt "%n\t%[master]p\n" cmdsyn.c@@ cmdsyn.c@@ bangalore@/vobs/dev
cleartool describe lbtype:V1.0@/vobs/dev label type "V1.0" created 25-Aug-00.12:14:52 by Susan Goechs (susan.user@minuteman) master replica: boston_hub@/vobs/dev ...
cleartool describe –fmt "%n\t%[master]p\n" cmdsyn.c@@\main\v3_bugfix cmdsyn.c@@\main\v3_bugfix boston_hub@\dev
The lsmaster command lists the objects mastered by a VOB replica. The command uses the information at your current replica unless you use the –inreplicas option, which retrieves information from sibling replicas.
multitool lsmaster boston_hub@/vobs/dev
multitool lsmaster –kind lbtype sanfran_hub@/vobs/dev
multitool lsmaster –inreplicas –all bangalore@\tests
For more information and examples, see the lsmaster reference page.
The lshistory –minor command and the History Browser (with the Include minor events toolbar icon selected) list mastership changes for an object. For example, to list the history of a replica:
cleartool lshistory –minor replica:bangalore@/vobs/dev 20-Sep.17:43 susan change master to "bangalore" of replica "bangalore" "Changed master replica from "boston_hub" to "bangalore"." ...
The settings for mastership requests controls whether developers at other replicas can request mastership of branches or branch types mastered by the replica. The describe command and (on Windows) the Mastership page in the Properties Browser display mastership request settings for replicas, branch types, and branches. For more information about mastership requests, see Implementing Requests for Mastership.