home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 18.7 sccs and Pseudo-Commands Chapter 19 Next: 19.2 Basic Operation
 

19. The Revision Control System

This chapter presents the following topics:

  • Overview of commands

  • Basic operation

  • General RCS specifications

  • Conversion guide for SCCS users

  • Alphabetical summary of commands

As with SCCS in the preceding chapter, the Revision Control System (RCS) is designed to keep track of multiple file revisions, thereby reducing the amount of storage space needed. With RCS you can automatically store and retrieve revisions, merge or compare revisions, keep a complete history (or log) of changes, and identify revisions using symbolic keywords. RCS is believed to be more efficient than SCCS. Unlike SCCS, RCS preserves execute permission on the files it manages, and you can store binary data in RCS files.

RCS is not part of standard SVR4 or Solaris. It can be obtained from the Free Software Foundation (see http://www.gnu.org ). This chapter describes RCS Version 5.7.

For more information, see Applying RCS and SCCS , listed in the Bibliography.

19.1 Overview of Commands

The three most important RCS commands are:

ci

Check in revisions (put a file under RCS control).

co

Check out revisions.

rcs

Set up or change attributes of RCS files.

Two commands provide information about RCS files:

ident

Extract keyword values from an RCS file.

rlog

Display a summary (log) about the revisions in an RCS file.

You can compare RCS files with these commands:

merge

Incorporate changes from two files into a third file.

rcsdiff

Report differences between revisions.

rcsmerge

Incorporate changes from two RCS files into a third RCS file.

The following commands help with configuration management. However, they are considered optional, so they are not always installed.

rcsclean

Remove working files that have not been changed.

rcsfreeze

Label the files that make up a configuration.


Previous: 18.7 sccs and Pseudo-Commands UNIX in a Nutshell: System V Edition Next: 19.2 Basic Operation
18.7 sccs and Pseudo-Commands Book Index 19.2 Basic Operation

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru