Lists version tree of an element
Product | Command Type |
---|---|
ClearCase | cleartool subcommand |
ClearCase LT | cleartool subcommand |
Attache | command |
Platform |
---|
UNIX |
Windows |
ClearCase and ClearCase LT on UNIX only-Display the version tree in graphical form:
Windows only-Display the version tree in graphical form:
List the version tree in the command window:
The lsvtree command lists part or all of the version tree of one or more elements. By default, the listing includes all branches of an element's version tree except for obsolete branches. The listing excludes certain versions on the included branches. Command options control which branches, how many branches, and which versions are listed. You can also control the way versions are annotated with version labels and merge arrows.
DISPLAYING THE VERSION TREE GRAPHICALLY. Default: Lists the version tree in nongraphical form.
LISTING SUBBRANCHES. Default: Lists the entire subtree of the branch selected as the starting point.
SELECTING AND ANNOTATING VERSIONS ON A BRANCH. Default: For each branch included in the listing, these selected versions are listed:
Checked-out versions (annotated with the view name) and their predecessors
Versions that are the LATEST on their branches
Versions with labels
Versions at which a subbranch was created
Versions that are hyperlink endpoints.
A version is annotated with up to five of its version labels; an ellipsis ( ...
) indicates that the version has additional labels.
LISTING OBSOLETE BRANCHES. Default: Obsolete branches (locked with the obsolete option) and instances of obsolete branch types are not listed.
GRAPHICAL OPTIONS. Default: None.
SELECTING THE STARTING POINT. Default: Starts the version tree listing at an element's main branch.
SPECIFYING THE ELEMENTS OR BRANCHES. Default: None. You must specify at least one element.
The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include 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 UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
List selected versions from an element's version tree.
cmd-context lsvtree util.c
util.c@@/main
util.c@@/main/1 (REL2)
util.c@@/main/rel2_bugfix
util.c@@/main/rel2_bugfix/1
util.c@@/main/3 (REL3)
util.c@@/main/4
List all versions and all obsolete branches in an element's version tree.
cmd-context lsvtree -all -obsolete util.c
util.c@@\main
util.c@@\main\0
util.c@@\main\1 (REL2)
util.c@@\main\rel2_bugfix
util.c@@\main\rel2_bugfix\0
util.c@@\main\rel2_bugfix\1
util.c@@\main\2
util.c@@\main\3 (REL3)
util.c@@\main\rel3_patch
util.c@@\main\rel3_patch\0
util.c@@\main\rel3_patch\1
util.c@@\main\4
List all versions on the rel2_bugfix branch of an element's version tree.
cmd-context lsvtree -branch /main/rel2_bugfix -all util.c
util.c@@/main/rel2_bugfix
util.c@@/main/rel2_bugfix/0
util.c@@/main/rel2_bugfix/1
Start a version tree browser to display all versions in an element's version tree.
cmd-context lsvtree -graphical -all util.h
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |