IPnom Home • Manuals • ClearCase

 Rational ClearCase Commands Reference

ClearCase Stuff:ClearCase LinksClearCase BooksClearCase Commands ReferenceClearCase ForumsClearCase News
Keyword Live Search (10 results max):
 Type in part of a ClearCase command in the search box.
 
Commands Index:
  intro
  annotate
  apropos
  catcr
  catcs
  cc.icon
  cc.magic
  cd
  chactivity
  chbl
  checkin
  checkout
  checkvob
  chevent
  chflevel
  chfolder
  chmaster
  chpool
  chproject
  chstream
  chtype
  chview
  clearaudit
  clearbug
  cleardescribe
  cleardiffbl
  cleardiff
  clearexport_ccase
  clearexport_cvs
  clearexport_pvcs
  clearexport_rcs
  clearexport_sccs
  clearexport_ssafe
  clearfsimport
  cleargetlog
  clearhistory
  clearimport
  clearjoinproj
  clearlicense
  clearmake
  clearmake.options
  clearmrgman
  clearprojexp
  clearprompt
  cleartool
  clearviewupdate
  clearvobadmin
  comments
  config_ccase
  config_spec
  cptype
  credmap
  creds
  deliver
  describe
  diffbl
  diffcr
  diff
  dospace
  edcs
  endview
  env_ccase
  events_ccase
  export_mvfs
  exports_ccase
  file
  find
  findmerge
  fmt_ccase
  getcache
  get
  getlog
  help
  hostinfo
  init_ccase
  ln
  lock
  lsactivity
  lsbl
  lscheckout
  lsclients
  lscomp
  lsdo
  lsfolder
  lshistory
  ls
  lslock
  lsmaster
  lspool
  lsprivate
  lsproject
  lsregion
  lsreplica
  lssite
  lsstgloc
  lsstream
  lstype
  lsview
  lsvob
  lsvtree
  makefile_aix
  makefile_ccase
  makefile_gnu
  makefile_pmake
  makefile_smake
  makefile_sun
  man
  merge
  mkactivity
  mkattr
  mkattype
  mkbl
  mkbranch
  mkbrtype
  mkcomp
  mkdir
  mkelem
  mkeltype
  mkfolder
  mkhlink
  mkhltype
  mklabel
  mklbtype
  mkpool
  mkproject
  mkregion
  mkstgloc
  mkstream
  mktag
  mktrigger
  mktrtype
  mkview
  mkvob
  mount_ccase
  mount
  msdostext_mode
  mvfslog
  mvfsstorage
  mvfstime
  mvfsversion
  mv
  omake
  pathnames_ccase
  permissions
  profile_ccase
  promote_server
  protect
  protectvob
  pwd
  pwv
  query_language
  quit
  rebase
  recoverview
  reformatview
  reformatvob
  register
  relocate
  rename
  reqmaster
  reserve
  rgy_backup
  rgy_check
  rgy_passwd
  rgy_switchover
  rmactivity
  rmattr
  rmbl
  rmbranch
  rmcomp
  rmdo
  rmelem
  rmfolder
  rmhlink
  rmlabel
  rmmerge
  rmname
  rmpool
  rmproject
  rmregion
  rmstgloc
  rmstream
  rmtag
  rmtrigger
  rmtype
  rmver
  rmview
  rmvob
  schedule
  schemes
  scrubber
  setactivity
  setcache
  setcs
  setplevel
  setsite
  setview
  shell
  snapshot.conf
  softbench_ccase
  space
  startview
  type_manager
  umount
  uncheckout
  unlock
  unregister
  unreserve
  update
  version_selector
  view_scrubber
  vob_restore
  vob_scrubber
  vob_sidwalk
  vob_snapshot
  vob_snapshot_setup
  wildcards_ccase
  winkin
  xclearcase
  xcleardiff
  xmldiffmrg

lsstream

Lists information about one or more streams

APPLICABILITY

ProductCommand type
ClearCasecleartool subcommand
ClearCase LTcleartool subcommand

Platform
UNIX
Windows

SYNOPSIS

lsstream [ –s·hort | –l·ong | –fmt format-string
| –tre·e [ –fmt format-string ] [ –dep·th depth ]
| –anc·estor [ –fmt format-string ] [ –dep·th depth ] ] [ –obs·olete ]
[ –inv·ob vob-selector | –in { project-selector | stream-selector }
| –vie·w view-tag | –cvi·ew | stream-selector ... ]

DESCRIPTION

The lsstream command displays information about one or more streams.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

Selecting a Display Format

Default
One-line summary.

–s·hort
Displays only the name of each stream.

–l·ong
Displays the following information for each stream:
  • Name

  • The associated project

  • An indicator if a Read-Only stream

  • The default deliver stream

  • Title (if different from the name)

  • Child development streams

  • Activities

  • Foundation baselines

  • Recommended baselines

  • Attached views

  • Policies

  • Effective policies (policies set by project but not by stream)

  • Baseline naming template

–fmt format-string
Displays information in the specified format. See the fmt_ccase reference page for details.

–tre·e [ –fmt format-string ] [ –dep·th depth ]
Displays information for a stream, including its hierarchy of streams and activities. You can modify how information is displayed with the –fmt and –depth options.

The –fmt option presents information using the specified format string. See the fmt_ccase reference page for details.

The –depth option specifies the number of levels to be displayed. The depth argument must be a positive integer.

–anc·estor [ –fmt format-string ] [ –dep·th depth ]
Displays information for a stream, including its containing project and folders. You can modify how information is displayed with the –fmt and –depth options.

The –fmt option presents information using the specified format string. See the fmt_ccase reference page for details.

The –depth option sets the number of levels displayed. The depth argument must be a positive integer.

Listing Obsolete Streams

Default
Lists only nonobsolete streams.

–obs·olete
Includes obsolete streams in the listing. Obsolete streams are those that have been processed with lock –obsolete.

Specifying the Stream

Default
–cview .

–inv·ob vob-selector
Displays a list of all streams in the specified project VOB.

–in { project-selector | stream-selector }
Displays a list of all streams for the specified project, or a list of child streams for the specified stream.

–vie·w view-tag
Displays information for the stream connected to the specified view.

–cvi·ew
Displays information for the stream connected to the current view.

stream-selector ...
Displays information for specified stream or streams.

You can specify the stream as a simple name or as an object selector of the form [stream]:name @ vob-selector, where vob-selector specifies a project VOB. If you specify a simple name and the current directory is not a project VOB, this command assumes that the stream resides in the project VOB associated with the current view. If the current directory is a project VOB, that project VOB is the context for identifying the stream.

EXAMPLES

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.

Note: In the UNIX examples that follow, arguments and output that show multicomponent VOB tags are not applicable to ClearCase LT, which recognizes only single-component VOB tags. In this manual, a multicomponent VOB tag is by convention a two-component VOB tag of the form /vobs/vob-tag-leaf—for example, /vobs/src. A single-component VOB tag consists of a leaf only—for example, /src. In all other respects, the examples are valid for ClearCase LT.

  • Display a one-line summary of the stream attached to the specified view.

    cmd-context lsstream –view java_int
    17-Sep-99.11:54:50  java_int  bill   "Deliver your changes here"

  • For all streams in the project VOB, display a detailed listing for the current stream using a tree format. The asterisk (*) indicates java_int is the stream attached to the current view.

    # cd /vobs/core_projects 
    cmd-context lsstream -tree 
    *java_int                      stream     "Deliver your changes here" 
    rebase.java_int.19990917.132524       activity   "rebase Deliver your
    changes here on 09/17/99 13:25:24."
    activity990917.133218        activity   "activity990917.133218"
    activity990917.133255        activity   "my new activity"
    new_activity                 activity   "new_activity"
    toms_edit                    activity   "toms_edit"
    activity990917.134751        activity   "activity990917.134751"
    deliver.java_dev.19990917.140443      activity   "deliver java_dev
    on 09/17/99 14:04:43."
    deliver.java_dev.19990917.141046      activity   "deliver java_dev 
    on 09/17/99 14:10:46."

    java_dev                       stream     "java_dev"
    activity990917.140331        activity   "activity990917.140331"

  • Display a detailed listing for development stream p7_sheila_devstr1.

    cmd-context lsstream -long p7_sheila_devstr1
    stream “p7_sheila_devstr1”
    19-Feb-03.17:43:33 by Sheila Hunt (sheila.usr@echo01)
    owner: sheila
    group: user
    project: p7@/vobs/sheila_testvob
    default deliver stream: int7@/vobs/sheila_testpvob
    development streams:
    p7_kevin_devstr11@/vobs/sheila_testpvob
    contains activities:
    dact14@/vobs/sheila_testpvob
    foundation baselines:
    bld.bl3.161@/vobs/sheila_testpvob (c1@/vobs/sheila_testpvob)
    (modifiable)
    bld.bl2.181@/vobs/sheila_testpvob (c2@/vobs/sheila_testpvob)
    (modifiable)
    recommended baselines:
    devstr.bl1.212
    bld.bl2.181
    views:
    sheila_p7_devstr1
    policies:
      POLICY_DELIVER_REQUIRE_REBASE disabled
      POLICY_DELIVER_NCO_DEVSTR disabled
      POLICY_INTRAPROJECT_DELIVER_FOUNDATION_CHANGES disabled
      POLICY_INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS disabled
      POLICY_INTERPROJECT_DELIVER disabled
      POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES disabled
      POLICY_INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY disabled
      POLICY_INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS disabled

    policies (effective):
      POLICY_DELIVER_REQUIRE_REBASE disabled
      POLICY_DELIVER_NCO_DEVSTR disabled
      POLICY_INTRAPROJECT_DELIVER_FOUNDATION_CHANGES disabled
      POLICY_INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS disabled
      POLICY_INTERPROJECT_DELIVER disabled
      POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES disabled
      POLICY_INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY disabled
      POLICY_INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS enabled

    baseline naming template: component_project_date_time

  • Display a detailed listing for Read-Only stream rebuild.

    cmd-context lsstream -l rebuild
    stream “RE_build”
    19-Feb-03.14:41:02 by Mark Preston (mpreston.user@rptest)
    owner: mpreston
    group: user
    project: rebuild_proj@/tmp/rebuild_pvob (read only stream)
    default deliver stream: 
    development streams:
    contains activities:
    foundation baselines:
    BL1@/tmp/rebuild_pvob (comp1@/tmp/rebuild_pvob) (modifiable)
    recommended baselines:
    BL1
    views:
    rebuild_view
    policies:

SPONSORED LINKS



 

ClearCase Links • ClearCase Books • ClearCase Commands Reference • ClearCase Forums • ClearCase News