Revision Control System

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Revision Control System (RCS) is an early version control system (VCS). It can be thought of as a set of UNIX commands, that allow multiple users develop and maintain program code or documents. With RCS, users can make their own revisions of a document, commit changes, and merge them together. RCS was originally developed for programs but is also useful for text documents or configuration files that are frequently revised.[1]

Revision Control System
Original author(s) Walter F. Tichy
Developer(s) GNU Project
Initial release 1982; 35 years ago (1982)
Stable release 5.9.4 (January 22, 2015; 2 years ago (2015-01-22)[2]) [±]
Repository git.savannah.gnu.org/cgit/rcs.git/?h=p
Written in C
Operating system Unix-like
Type Version Control
License GNU General Public License
Website www.gnu.org/s/rcs/

History[edit]

Development[edit]

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).[3] RCS is currently maintained by the GNU Project.[4]

Legal and Licensing[edit]

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

Copyright (C) 1982 by Walter F. Tichy [...] All rights reserved. No part of this software may be sold or distributed in any form or by any means without the prior written permission of the author.

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

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

Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by Walter Tichy.

RCS 4.3, released July 26, 1990, was distributed "under license by the Free Software Foundation", under the terms of the GPL.[8]

Behavior[edit]

Mode of operation[edit]

RCS operates only on single files. It has no way of working with an entire project, so it does not support atomic commits affecting multiple files. Although it provides branching for individual files, the version syntax is cumbersome. Instead of using branches, many teams just use the built-in locking mechanism and work on a single head branch.[1]

Usage[edit]

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 addition 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[edit]

  • Simple structure and easy to work with [9]
  • Revision saving is not dependent to the central repository [9]

Disadvantages[edit]

  • Poor security system when it comes to an intentional misconduct [9]
  • Only one user can work on a file at a time [10]

Related Tools and Successors[edit]

RCS - A First Generation Tool[edit]

SCCS and DSE/ClearCase (developed in 1972 and 1980 respectively) are two other relatively well-known VCS software tools. These tools are generally considered the first generation of VCS as an automated software tools back in times. RCS, is still used in some projects, but its continued usage is nowhere near more modern tools like GIT.[3]

Second Generation[edit]

After the first generation VCS tools, later CVS, SVN, and SVK could be considered as the second generation VCS all of which feature a locally centralized repository. Specifically CVS (Concurrent Versions System) has been developed on top of RCS structure, improving scalability of the tool for larger groups, and later branched out PRCS as a simpler CVS-like tool.

Nowadays, SVN may be considered as the most popular and widely in use VCS tool from this generation which has filled important weaknesses of CVS. Later SVK developed with the goal of remote contribution feature, but still the foundation of its design were pretty similar to its predecessors.[3]

Third Generation[edit]

As Internet opened its path through the world, third generation of these tools emerged providing a decentralized version control system, allowing users to keep their revisions in multiple machines, while contributing to the same project. In this generation there are Git, Arch tools (Bazaar, ArX), BitKeeper, Mercurial, and Monotone and many others as the third generation of VCS software tools.[3]

References[edit]

  1. ^ a b c d Tichy, Walter (1982). "Design, implementation, and evaluation of a Revision Control System". ICSE '82 Proceedings of the 6th international conference on Software engineering: 58–67. Retrieved 12 June 2012. 
  2. ^ "GNU RCS". directory.fsf.org. FSF. 22 January 2015. 
  3. ^ a b c d "Understanding Version-Control Systems (DRAFT)". www.catb.org. Retrieved 2017-02-13. 
  4. ^ "RCS". GNU Project. Free Software Foundation. 22 Jan 2015. Retrieved 27 June 2015. 
  5. ^ "4.3BSD - /usr/src/new/rcs/src/rcsdiff.c". Walter's Retro Computing Corner Documentation. May 19, 1986. Retrieved November 15, 2014. 
  6. ^ "CSRG/cd2/4.3reno/usr/src/contrib/rcs/src/READ_ME". February 27, 1989. 
  7. ^ "CSRG/cd2/4.3reno/usr/src/contrib/rcs/src/rcs.c". August 15, 1989. 
  8. ^ RCS 4.3 README file.
  9. ^ a b c "Revision control concepts – Revision Control System (RCS), Concurrent Versions System (CVS) and Subversion". IT PASSION - "IT professional Blog". 2008-12-10. Retrieved 2017-02-20. 
  10. ^ steinb. "Revision Control Systems (RCS, CVS, SVN, Git)". www.ibr.cs.tu-bs.de. Retrieved 2017-02-20. 
Notes

Further reading[edit]

External links[edit]