Listing an object’s master replica

You can find the master replica for an object using the cleartool describe command and also on the Mastership page in the Properties Browser on Windows®.

About this task

Procedure

To list an object’s master replica, use one of the following methods:
Method Description
Mastership page in the Properties Browser (Windows) This page lists the object’s master replica.
cleartool describe object-selector This command lists general information about the object, including its master replica.
cleartool describe –fmt "%[master]p\n" object-selector This command lists only the master replica of the object. For more information about the –fmt option, see the fmt_ccase reference page in the DevOps Code ClearCase Command Reference.

Example

Examples:

  • To list a replica object’s master replica:
    
    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
    ...
    
  • To list an element’s master replica:
    cleartool describe –fmt "%n\t%[master]p\n" cmdsyn.c@@
    cmdsyn.c@@      bangalore@/vobs/dev 
    
  • To list a type object’s master replica:
    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
    ...
    
  • To list a branch’s master replica:
    cleartool describe –fmt "%n\t%[master]p\n" cmdsyn.c@@\main\v3_bugfix
    
    cmdsyn.c@@\main\v3_bugfix boston_hub@\dev