Prev | Current Page 1424 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


Working file One or more files retrieved from the RCS source code repository (the RCS directory)
into the current working directory and available for editing.
793
Programming Tools and Utilities 29
RCS manages multiple versions of files, usually but not necessarily source code files. It automates
file version storage and retrieval, change logging, access control, release management, and revision
identification and merging. As an added bonus, RCS minimizes disk space requirements because it
tracks only file changes.
One of RCS??™s attractions is its simplicity. With only a few commands, you can accomplish a
great deal.
Checking Files In and Out
You can accomplish a lot with RCS using only two commands (ci and co) and a directory named
RCS. ci stands for ???check in,??? which means storing a working file in the RCS directory; co means
???check out??? and refers to retrieving an RCS file from the RCS repository.
To get started, you need to create an RCS directory. All RCS commands will use this directory, if it
is present in your current working directory. The RCS directory is also called the repository. When
you check a file in, RCS asks for a description of the file, copies it to the RCS directory, and deletes
the original. ???Deletes the original???? Ack! Don??™t worry, you can retrieve it with the check out command,
co.


Pages:
1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436