1. SCons
  2. Core
  3. SCons


SCons / src / engine / SCons / Tool / RCS.xml


This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
<tool name="RCS">
Sets construction variables for the interaction
with the Revision Control System.

<cvar name="RCS">
The RCS executable.
Note that this variable is not actually used
for the command to fetch source files from RCS;
see the
construction variable, below.

<cvar name="RCS_CO">
The RCS "checkout" executable,
used to fetch source files from RCS.

<cvar name="RCS_COCOM">
The command line used to
fetch (checkout) source files from RCS.

<cvar name="RCS_COCOMSTR">
The string displayed when fetching
a source file from RCS.
If this is not set, then &cv-link-RCS_COCOM;
(the command line) is displayed.

<cvar name="RCS_COFLAGS">
Options that are passed to the &cv-link-RCS_CO; command.

<scons_function name="RCS">
<arguments signature="env">
A factory function that
returns a Builder object
to be used to fetch source files
from RCS.
The returned Builder
is intended to be passed to the

This function is deprecated.  For details, see the entry for the


env.SourceCode('.', env.RCS())

Note that
will fetch source files
from RCS subdirectories automatically,
so configuring RCS
as demonstrated in the above example
should only be necessary if
you are fetching from
files in the same
directory as the source files,
or if you need to explicitly specify RCS
for a specific subdirectory.