Programming Tools Guide
Chapter 11, Source code control system (SCCS)

cdc command

cdc command

The cdc(CP) command changes the commentary made when the delta was created. It is similar to the rmdel command (for instance, -r and full SID are necessary), although the delta need not be a leaf delta.

cdc -r3.4 s.abc

The above example specifies that the commentary of delta 3.4 is to be changed. New commentary is then prompted for, as with delta.

The old commentary is kept, but it is preceded by a comment line indicating that it has been superseded, and the new commentary is entered ahead of the comment line. The inserted comment line records the login name of the user executing cdc and the time of its execution.

The cdc command also allows for the insertion of new MR numbers as well as the deletion of old MR numbers (using the "!" prefix). The following command inserts mrnum3 and deletes mrnum1 for delta 1.4.

cdc -r1.4 s.abc

MRs? mrnum3 !mrnum1
(The `MRs?' prompt appears only if v flag has been set.)

comments?
deleted wrong MR number and inserted correct MR number


NOTE: An MR is described in ``delta command''.