Next: , Up: admin


3.1.1 Flags

Flags are set and cleared with the admin program. See admin.

Boolean Flags
b
Enable branch deltas: this enables the -b option of get (see get).
e
This flag indicates that the file controlled by this sccs file is a binary file, and hence the body of the sccs file is uuencoded. This flag can only be set with the -b option of admin at the time the file is created (or if admin takes it upon itself to set this flag automatically), and cannot be unset. The circumstances under which this can happen are discussed in Interoperability.
f
This flag is specific to the BitKeeper suite, and is only supported if cssc has recognised the file as a BitKeeper file. cssc does not understand the significance of this flag.
i
Make get and delta exit unsuccessfully when the ‘Warning: No id keywords’ message is issued.
j
Enables concurrent updates: if you try to get a revision for editing, this normally fails if another user already has the file locked. Setting the ‘j’ flag overrides this.
n
Create empty releases when the -r option to get is used to skip releases. These empty releases can later serve as branch points.
x
Sets the executable bit on the g-file. This flag is a SCO OpenServer extension and is not supported by other versions of sccs. Setting this flag with admin -fx generates a warning to this effect. If cssc is simply processing a file which already has this flag set, no message will be generated. See Interoperability for more information on compatibility between cssc and other implementations of sccs.
Other Flags
c
Set the release ceiling. Releases higher than the ceiling cannot be checked out.
f
Set the release floor. Releases lower then the release floor cannot be checked out.
d
Set the default delta which is used when the get command is given without the -r option. The default behaviour for get is defined in get.
l
Set the locked release list. These releases cannot be checked out with get -e. The special value ‘a’ denotes all releases.
q
Sets the value substituted for the ‘%Q%’ keyword as described in Keyword Substitution. This flag is referred to in the output of sccs as ‘csect name’, and is variously referred to here as that, or the “user flag” or the “Q flag”.
m
Sets the overridden value for the ‘%M%’ keyword as described in Keyword Substitution.
t
Sets the value for the ‘%Y%’ keyword as described in Keyword Substitution.
v
Sets the name of the program used to validate mr (modification request) numbers; mrs are described in Modification Request Numbers. This flag can be set to the empty string, in which case mrs are allowed and the validation silently succeeds without any program being run.
y
By default, all keywords are expanded in the gotten file. See Keyword Substitution for a list of such keywords. This flag can be set to a list of letters separated by commas, in which case keyword expansion will be limited to the specified keywords. For example, ‘admin -fyQ,M,Y’ restricts keyword expansion so that ‘%Q%’, ‘%M%’ and ‘%Y%’ are expanded, while other keywords such as ‘%Z%’ are not. This flag is an extension introduced by Sun Solaris 8. See Interoperability for a discussion of the interoperability of cssc with other sccs implementations.