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

diffbl

Compares the contents of baselines or streams

APPLICABILITY

ProductCommand type
ClearCase cleartool subcommand
ClearCase LTcleartool subcommand

Platform
UNIX
Windows

SYNOPSIS

  • Display differences between two baselines or streams nongraphically:
    diffbl [ –act·ivities ] [ –ver·sions ] [ –bas·elines ]
    [ –fir·st_only] [ –nre·curse ]
    { baseline-selector1 | stream-selector1 }
    { baseline-selector2 | stream-selector2 }

  • Display differences between the specified baseline and its predecessor baseline nongraphically:
    diffbl –pre·decessor [ –act·ivities ] [ –ver·sions ] baseline-selector

  • Display differences between two baselines graphically:
    diffbl –g·raphical baseline-selector1 baseline-selector2

  • Display differences between the specified baseline and its predecessor baseline graphically:
    diffbl –g·raphical –pre·decessor baseline-selector

DESCRIPTION

The diffbl command compares the contents of two baselines or streams and displays any differences it finds. You can choose to see differences in terms of activities, versions, and for composite baselines, members.

You can use the diffbl command to compare a baseline and a stream, a baseline and a baseline, or a stream and a stream. When specifying a stream, all baselines in the stream are used in the comparison as well as any changes in the stream that are not yet captured in a baseline.

The diffbl command must be issued from a view context to display versions.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

Specifying the Information to Display

Default
–activities

–act·ivities
Displays differences in terms of activities.

–ver·sions
Displays differences in terms of versions.

–bas·elines
For composite baselines, displays differences in terms of member baselines. When used with the –activities option, displays each member baseline followed by activities in the member baseline.

–fir·st_only
Shows only those changes that appear in the first object specified for the comparison.

–nre·curse
For composite baselines, displays differences between the named baselines themselves and not between their members.

Comparing a Version with Its Predecessor

Default
None.

–pre·decessor
Displays differences between the specified baseline and its immediate predecessor.

Reporting Differences Graphically

Default
Reports differences in nongraphical form.

–g·raphical
Displays differences graphically. This applies only to baselines, not streams.

Selecting the Objects to Compare

Default
None.

baseline-selector1 , stream-selector1
Specifies objects to use in the comparison.

baseline-selector is of the form: [baseline:]baseline-name[@vob-selector] and vob is the baseline's UCM project VOB. stream-selector is of the form: [stream:]stream-name[@vob-selector] and vob is the stream's UCM project VOB.

baseline-selector2, stream-selector2
Specifies objects to use in the comparison.

baseline-selector is of the form: [baseline:]baseline-name[@vob-selector] and vob is the baseline's UCM project VOB. stream-selector is of the form: [stream:]stream-name[@vob-selector] and vob is the stream's UCM project VOB.

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.

  • Compare activities in two streams:

    cmd-context diffbl stream:java_int stream:java_dev 
    << deliver.java_dev.19990917.140443 "deliver java_dev on 09/17/99 14:04:43."
    << deliver.java_dev.19990917.141046 "deliver java_dev on 09/17/99 14:10:46."

  • Compare baselines in two streams:

    cmd-context diffbl -ver stream:java_int stream:java_dev 
    << /vobs/parser/myfile.c@@/main/java_int/2
    << /vobs/parser/myfile.c@@/main/java_int/3

  • Compare a baseline with its predecessor baseline:

    cmd-context diffbl -predecessor test_sum.D001207.124@net/acrolein/export/home/lli/vobs/lli_test_sum
    >> deliver.lli_test_sum.20001113.165650 “deliver lli_test6_sum on 
    11/13/00 16:56:50.”
    >> test_act_00795 “test act”

SEE ALSO

chbl, lsbl, mkbl, rmbl

SPONSORED LINKS



 

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