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

clearmrgman

Manages the merging of versions graphically

APPLICABILITY

ProductCommand type
ClearCasecommand
ClearCase LTcommand

Platform
UNIX

SYNOPSIS

  • Start the graphical user interface for a UCM deliver operation:
    clearmrgman –del·iver [ –str·eam stream-selector]
    [-to target-view-tag] [ –tar·get stream-selector ]
    [ –q·uery | –qal·l ]

  • Start the graphical user interface for a UCM rebase operation:
    clearmrgman –reb·ase [ –vie·w rebase-view-tag]
    [–str·eam stream-selector] [ –q·uery | –qal·l ]

  • Start the Merge Manager:
    clearmrgman [ –tta·g to-view-tag ]
    [ { [ –fta·g from-view-tag | –fbr·anch branch-type
    | –fla·bel label-type | –fve·rsion version-selector ]
    [ –d·irectory | –nr·ecurse ]
    [ –fol·low ] [ –noa·utomerge ] [ –q·uery | –qal·l ]
    [ –a·ll vob-names | –avo·bs | pname... ] }
    { –fil·e mrgman-file } ]

DESCRIPTION

The clearmrgman command starts the Merge Manager, a graphical tool that manages the process of merging one or more versions. It automates the processes of gathering information for a merge, starting a merge, and tracking a merge. It can also save and retrieve the state of a merge for a set of versions.

You can also use UCM-specific options to start a graphical interface for a deliver or rebase operation.

RESTRICTIONS

Identities: No special identity is required to invoke clearmrgman. If an operation invokes checkout and/or merge, the identity checking of those commands is in effect.

Locks: No locks apply.

Mastership: (Replicated VOBs only) No mastership restrictions.

OPTIONS AND ARGUMENTS

Starting the Graphical User Interface for a Deliver or Rebase Operation

Default
Starts the Merge Manager.

–deliver
Starts the graphical user interface for a UCM deliver operation.

–stream stream-selector
Specifies a stream to be used as the source for the UCM deliver or rebase operation.

–to target-view-tag
Specifies a view attached to the deliver target stream in the same project or in a different project. This option is not accepted for a remote post-deliver operation.

–target stream-selector
Specifies a nondefault deliver target stream in the same or a different project. For more information about delivering to an alternative target, see deliver.

–rebase
Starts the graphical user interface for a UCM rebase operation.

–view rebase-view-tag
Specifies a view to be used for the UCM rebase operation.

Specifying the Destination View

Default
None.

–ttag to-view-tag
Specifies a view that is used as the target of the merge operation. Merge results are created in this view.

Specifying the From–Version

Default
None.

–ftag from-view-tag
Specifies a view that is used as the from-view in the merge operation. Compares this version with the version in your view. A version of the same version is always used, even if the version has a different name in the other view.

–fbranch branch-type
Compares the version in your view with the latest version on the specified branch.

–flabel label-type
Compares the version in your view with the version selected by the specified label.

–fversion version-selector
Compares the version in your view with the version specified by version-selector.

Narrowing the List of Versions to Be Considered

Use the following options to select a subset of the versions specified by pname arguments and the –all or –avobs option.

–d·irectory
For each directory, considers only the directory itself, not the directory or file versions, or VOB symbolic links it catalogs.

–nr·ecurse
For each directory version, considers the file and directory versions within it, but does not descend into its subdirectories.

–fol·low
Causes VOB symbolic links to be traversed.

Turning Off Automatic Merging

Use the following options to select a subset of the of the versions specified by pname arguments and the –all or –avobs option.

–noa·utomerge
Turns off automatic merging of directories.

–q·uery
Turns off automatic merging for nontrivial merges and prompts you to proceed with every change in the from-versions. Changes in the to-version are accepted unless a conflict exists.

–qal·l
Turns off automated merging. Prompts you to determine whether you want to proceed with each change.

Specifying the Versions to Be Considered

Default
None.

–all vob-names
Considers all the versions in the specified VOB or VOBs, whether or not they are visible in your view.

–avobs
Considers all the versions in all the VOBs active (mounted) on the local host. (If environment variable CLEARCASE_AVOBS is set to a colon-separated list of VOB-tags, this set of VOBs is used instead.

pname...
Considers only the specified file versions and the subtrees under the specified directory versions.

Loading a Merge Manager File

Default
Starts a new session.

–fil·e mrgman-file
Loads the specified merge manager file.

EXAMPLES

  • Start the Merge Manager.

    clearmrgman 

  • Start the Merge Manager and compare the version of foo.c selected by the view joe_view with the version of foo.c selected by the active view.

    clearmrgman -ftag joe_view foo.c 

  • Start the graphical user interface for a UCM deliver operation.

    clearmrgman -deliver rt_int/@vobs/mypvob

SPONSORED LINKS



 

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