CM.GUI.SH(1)
NAME
cm.gui.sh - gui interface to all configuration management
systems
SYNOPSIS
cm.gui.sh bugid CMaction path file
DESCRIPTION
The cm.gui.sh(1) bourne shell script is called by and
xddts(1) via the class specific CM.tmpl file to perform CM
actions on behalf of a particular bugid.
The bugid is the defect identifier (e.g. XXXxx12345).
The CMaction parameter is one of the following:
Value Meaning
-checkin Check in a file
-checkout Check out a file
-uncheckin Uncheck in a file
-uncheckout Uncheck out a file
-verinit Check in a file very first time.
The path parameter is the fully qualified path name to the
directory where the file is under CM control.
The file parameter is the name of the file to checkout.
The cm.gui.sh(1) script determines the CM macros to use by
finding the defects's project and then looking at that
project's CMsys field in the
~ddts/projects/<project_name>/proj.control file. The value
of that field is prefixed with a "cm." and then a macro file
by that name is looked up in the ~ddts/etc/CM directory.
Thus using SCCS will cause the ~ddts/etc/CM/cm.sccs macros
to be loaded.
When the macros have been loaded the macro matching the
CMaction is called. If the CM action is successful,
cm2ddts(1) is called to post the CM action and file name to
the ClearDDTS database.
SEE ALSO
cm.tty.sh(1), cm2ddts(1), cm.sccs.sh(1), cm.clearcase.sh(1),
cm.rcs.sh(1)