DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Source code control system (SCCS)

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''.


Next topic: what command
Previous topic: rmdel command

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003