rcsfreeze - freeze a configuration of sources checked in under RCS
rcsfreeze assigns a symbolic revision number to a set of RCS files that form a valid configuration.
The idea is to run rcsfreeze each time a new version is checked in. A unique symbolic name (C_number, where number is increased each time rcsfreeze is run) is then assigned to the most recent revision of each RCS file of the main trunk.
An optional name argument to rcsfreeze gives a symbolic name to the configuration. The unique identifier is still generated and is listed in the log file but it will not appear as part of the symbolic revision name in the actual RCS files.
A log message is requested from the user for future reference.
The shell script works only on all RCS files at one time. All changed
files must be checked in already. Run
first and see
whether any sources remain in the current directory.
rcsfreeze does not check whether any sources are checked out and modified.
Although both source file names and RCS file names are accepted, they are not paired as usual with RCS commands.
Error checking is rudimentary.
is just an optional example shell script,
and should not be taken too seriously. See CVS for a more complete solution.
log messages, most recent first
Author: Stephan v. Bechtolsheim
co(1), rcs(1), rcsclean(1), rlog(1)