The describe command, which is available in cleartool and multitool, displays the properties of a replica. Use the -fmt option to customize the output from the command. See the fmt_ccase reference page in the Command Reference.
For example, to display the name, master replica, and replica host of a replica:
cleartool describe -fmt "%n\t%[master]p\t%[replica_host]p\n" \
replica:boston_hub@/vobs/dev
boston_hub boston_hub@/vobs/dev minuteman
You can also display properties of a replica by using a replica-uuid-selector instead of a replica-selector argument. For example (note that the replica-uuid-selector must be entered on a single line):
cleartool describe -fmt "%n\n%[master]p\n%[replica_host]p\n" \
oid:87f6265f.72d911d4.a5cd.00:01:80:c0:4b:e7@replicauuid:87f6265f.72d911d4.a5cd.00:01:80:c0:
4b:e7
boston_hub
boston_hub@/vobs/dev
minuteman
On Windows, the Properties Browser displays the properties of a replica. Open the Properties Browser in one of the following ways:
From Windows Explorer:
Navigate to the VOB.
Right-click the VOB and click ClearCase > Properties of VOB.
Click the Replicas tab.
Select the replica and click Replica Properties.
From ClearCase Administration Console:
Navigate to All VOBs.
Click View > List.
Right-click the VOB and click Properties.
Click the Replicas tab.
Select the replica and click Replica Properties.
From a command prompt:
cleardescribe replica:replica-selector
cleartool describe -graphical replica:replica-selector
cleardescribe replica:boston_hub@\dev
cleartool describe -graphical replica:sanfran_hub@\tests
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |