ClearCase (cleartool subcommand), Attache (command), MultiSite (multitool subcommand)
The lsreplica command lists the VOB replicas in a VOB family. lsreplica lists information on all VOB-replica objects recorded in the VOB database of the local replica (except for deleted replicas, known as ghost replicas). Other replicas may exist, but the packets containing their creation information have not yet been imported at the local replica.
To create a VOB replica, use the mkreplica command.
Permissions Checking: No special permissions are required.
LISTING FORMAT. Default: Includes creation event information for each replica.
SPECIFYING THE VOB FAMILY. Default: Lists VOB family members of the replica containing the current working directory.
pname-in-vob | Pathname of the VOB-tag (whether or not the VOB is mounted) or of any file-system object within the VOB (if the VOB is mounted) |
SPECIFYING THE REPLICA. Default: Lists all known replicas of the VOB family.
replica-name | Name of the replica | |
vob-selector | VOB family of the replica; can be omitted if the current working directory is within the VOB. Specify vob-selector in the form [vob:]pname-in-vob | |
pname-in-vob | Pathname of the VOB-tag (whether or not the VOB is mounted) or of any file-system object within the VOB (if the VOB is mounted) | |
Examples including wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
multitool lsreplica -short
evanston
osaka
paris
multitool lsreplica -short -siblings
osaka
paris
cmd-context lsreplica -invob \gvob_ech
For VOB replica "\gvob_ech": | ||
11-Mar.13:42 | david | replica "original" |
11-Mar.13:45 | david | replica "second_rep" |
cmd-context lsreplica -fmt ^
"Name: %n\n\tMastering replica: %[master]p\n\tReplica host: %[replica_host]p\n" ^
-invob \dev
Name: lex
Mastering replica: lex@\dev
Replica host: minuteman
Name: cup
Mastering replica: lex@\dev
Replica host: surfer
describe, lsvob, mkreplica (in the ClearCase MultiSite Manual)
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |