Programming Utilities Guide

Altering History File Defaults: sccs admin

A number of parameters that can be set using the admin command. The most interesting of these are flags. Flags can be added by using the -f option.

For example, the following command sets the d flag to the value 1:

$ sccs admin -f d1 program.c

This flag can be deleted by using:

$ sccs admin -d d program.c

The most useful flags are:

b

Allow branches to be made using the -b option to sccs edit (see "Branches ").

dSID

Default SID to be used on an sccs get or sccs edit . If this is just a release number it constrains the version to a particular release only.

i

Give a fatal error if there are no ID keywords in a file. This prevents a version from being checked in when the ID keywords are missing or expanded by mistake.

y

The value of this flag replaces the %Y% ID keyword.

-tfile

Stores descriptive text from file in the s.file. This descriptive text might be the documentation or a design and implementation document. Using the -t option ensures that if the s.file is passed on to someone else, the documentation goes along with it. If file is omitted, the descriptive text is deleted. To see the descriptive text, use prt -t.

The sccs admin command can be used safely any number of times on files. A current version need not be retrieved for admin to work.