Revision Control System: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>GreenC bot
 
imported>InternetArchiveBot
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.5
 
Line 82: Line 82:
==Further reading==
==Further reading==
* Don Bolinger, Tan Bronson, ''Applying RCS and SCCS - From Source Control to Project Control''. O'Reilly, 1995.
* Don Bolinger, Tan Bronson, ''Applying RCS and SCCS - From Source Control to Project Control''. O'Reilly, 1995.
* Walter F. Tichy, ''[https://users.ninthfloor.org/~ashawley/rcs/tichy1985rcs/rcs.html RCS—A System for Version Control],'' 1985
* Walter F. Tichy, ''[https://users.ninthfloor.org/~ashawley/rcs/tichy1985rcs/rcs.html RCS—A System for Version Control] {{Webarchive|url=https://web.archive.org/web/20180218160038/https://users.ninthfloor.org/~ashawley/rcs/tichy1985rcs/rcs.html |date=18 February 2018 }},'' 1985
* Paul Heinlein, [https://www.madboa.com/geek/rcs/ RCS HOWTO], 2004
* Paul Heinlein, [https://www.madboa.com/geek/rcs/ RCS HOWTO], 2004



Latest revision as of 01:42, 2 November 2025

Template:Short description Template:Lead too short Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters".Template:Main other Revision Control System (RCS) is an early implementation of a version control system (VCS). It is a set of UNIX commands that allow multiple users to develop and maintain program code or documents. With RCS, users can make their own revisions of a document, commit changes, and merge them. RCS was originally developed for programs but is also useful for text documents or configuration files that are frequently revised.[1]

History

Development

RCS was first released in 1982[1] by Walter F. Tichy at Purdue University. It was an alternative tool to the then-popular Source Code Control System (SCCS) which was nearly the first version control software tool (developed in 1972 by early Unix developers).[2] RCS is currently maintained by the GNU Project.[3]

An innovation in RCS is the adoption of reverse deltas. Instead of storing every revision in a file like SCCS does with interleaved deltas, RCS stores a set of edit instructions to go back to an earlier version of the file. Tichy claims that it is faster for most cases because the recent revisions are used more often.[1]

Legal and licensing

Initially (through version 3, which was distributed in 4.3BSD), its license prohibited redistribution without written permission from Walter Tichy:[4]

Template:Quote

A READ_ME file accompanied some versions of RCS which further restricted distribution, e.g., in 4.3BSD-Reno.[5]

Ca. 1989, the RCS license was altered to something similar to the contemporary BSD licenses, as seen by comments in the source code.[6]

Template:Quote

RCS 4.3, released 26 July 1990, was distributed "under license by the Free Software Foundation", under the terms of the GPL.[7]Template:Full citation needed

OpenBSD provides a different implementation called OpenRCS, which is BSD-licensed.[8]

Behavior

Mode of operation

RCS works well with standalone files and supports multi-file projects but, by modern standards, that support is limited: RCS can assemble the versions of multiple files into a single release (via "symbolic names")[9] but it lacks support for atomic commit across those files. Although it provides branching, the version syntax is cumbersome.Script error: No such module "Unsubst". Instead of using branches, many teams just use the built-in locking mechanism and work on a single head branch.[1]

Usage

RCS revolves around the usage of "revision groups" or sets of files that have been checked-in via the co (checkout) and ci (check-in) commands. By default, a checked-in file is removed and replaced with a ",v" file (so foo.rb when checked in becomes foo.rb,v) which can then be checked out by anyone with access to the revision group. RCS files (again, files with the extension ",v") reflect the main file with additional metadata on its first lines. Once checked in, RCS stores revisions in a tree structure that can be followed so that a user can revert a file to a previous form if necessary.[1]

Advantages

  • Simple structure and easy to work with [10]
  • Revision saving is not dependent on a central repository [10]

Disadvantages

  • There is little security, in the sense that the version history can be edited by the users.[10]
  • Only one user can work on a file at a time.[11]

Notes

Template:Notelist

See also

References

Template:Reflist Notes Template:Refbegin

Template:Refend

Further reading

External links

Script error: No such module "Portal".

Template:Version control software

Template:Authority control Template:Use dmy dates

  1. a b c d e Script error: No such module "Citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Template:Cite FTP
  6. Template:Cite FTP
  7. RCS 4.3 README file.
  8. Script error: No such module "citation/CS1".
  9. F. Tichy, Walter: "RCS: A System for Version Control", page 15. Department of Computer Science Technical Reports, Purdue University. Paper 394. https://docs.lib.purdue.edu/cstech/394
  10. a b c Script error: No such module "citation/CS1".
  11. Script error: No such module "citation/CS1".