Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Revision Control System
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Version-control system}} {{Lead too short|date=September 2020}} {{Infobox software | name = Revision Control System | logo = | screenshot = | caption = | author = [[Walter F. Tichy]] | developer = [[GNU Project]]<br> [[The OpenBSD project]] (OpenRCS) | released = {{Start date and age|1982}} | latest release version = {{wikidata|property|reference|P348}} | latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}} | programming language = [[C (programming language)|C]] | operating system = [[Unix-like]], [[V (operating system)|V]]<ref>[http://bitsavers.org/pdf/stanford/v-system/V_6.0refMan_Jun86.pdf V-System 6.0 Reference Manual]</ref> | platform = | genre = [[Version control]] | license = [[GNU General Public License|GPL-3.0-or-later]]{{efn|GPL-3.0-or-later since 2010-06-24.}}<ref>{{cite web|url=https://git.savannah.gnu.org/cgit/rcs.git/commit/COPYING?id=f3cc1b9908300e07b97972785a7b1c946e75ca3c|title=Update license to GPLv3+.|date=2010-06-24}}</ref><br> [[2-clause BSD license]] (OpenRCS) | website = {{URL|https://www.gnu.org/software/rcs/}} }} '''Revision Control System''' ('''RCS''') is an early implementation of a [[version control system]] (VCS). It is a set of [[Unix|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.<ref name=":1" /> == History == === Development === RCS was first released in 1982<ref name=":1">{{cite journal | last = Tichy | first = Walter | title = Design, implementation, and evaluation of a Revision Control System | journal = ICSE '82 Proceedings of the 6th International Conference on Software Engineering | year = 1982 | pages = 58β67 | url = http://dl.acm.org/citation.cfm?id=807748 | access-date = 12 June 2012 }}</ref> 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).<ref name=":0">{{Cite web|url=http://www.catb.org/~esr/writings/version-control/version-control.html|title=Understanding Version-Control Systems (DRAFT)|first=Eric|last=Raymond|website=www.catb.org|access-date=2017-02-13}}</ref> RCS is currently maintained by the [[GNU Project]].<ref>{{cite web |title = RCS|website = GNU Project|publisher = Free Software Foundation|access-date = 27 June 2015|url = https://www.gnu.org/software/rcs/|date = 22 January 2015}}</ref> 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.<ref name=":1"/> ===Legal and licensing=== Initially (through version 3, which was distributed in 4.3BSD), its license prohibited redistribution without written permission from Walter Tichy:<ref>{{cite web |url=http://www.retro11.de/ouxr/43bsd/usr/src/new/rcs/src/rcsdiff.c.html |title=4.3BSD - /usr/src/new/rcs/src/rcsdiff.c |publisher=Walter's Retro Computing Corner Documentation |access-date = 15 November 2014 |date=19 May 1986}}</ref> {{quote|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 [[README|READ_ME]] file accompanied some versions of RCS which further restricted distribution, e.g., in [[Berkeley Software Distribution#4.3BSD|4.3BSD-Reno]].<ref>{{cite web |url=ftp://ftp.mrynet.com/operatingsystems/CSRG/cd2/4.3reno/usr/src/contrib/rcs/src/READ_ME |title=CSRG/cd2/4.3reno/usr/src/contrib/rcs/src/READ_ME |date=27 February 1989 }}</ref><!-- Better source needed --> Ca. 1989, the RCS license was altered to something similar to the contemporary [[BSD licenses#Previous license|BSD licenses]], as seen by comments in the source code.<ref>{{cite web |url=ftp://ftp.mrynet.com/operatingsystems/CSRG/cd2/4.3reno/usr/src/contrib/rcs/src/rcs.c |title=CSRG/cd2/4.3reno/usr/src/contrib/rcs/src/rcs.c |date=15 August 1989}}</ref><!-- Better source needed --> {{quote|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 26 July 1990, was distributed "under license by the [[Free Software Foundation]]", under the terms of the [[GNU General Public License|GPL]].<ref>RCS 4.3 README file.</ref>{{full citation needed|date=January 2022}} OpenBSD provides a different implementation called ''OpenRCS'', which is BSD-licensed.<ref>{{Cite web |title=rcs(1) - OpenBSD manual pages |url=https://man.openbsd.org/rcs.1#HISTORY |access-date=2024-09-05 |website=man.openbsd.org}}</ref> == 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")<ref>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</ref> but it lacks support for [[Atomic commit#Revision control|atomic commit]] across those files. Although it provides branching, the version syntax is cumbersome.{{Citation needed|reason=what's cumbersome about it?!|date=February 2025}}<!-- need some proper lead-in to point out that tools which use RCS files such as CVS use the same branching, but make it simpler to use --> Instead of using branches, many teams just use the built-in locking mechanism and work on a single ''head'' branch.<ref name=":1" /> === Usage === RCS revolves around the usage of "revision groups" or sets of files that have been checked-in via the <code>co</code> (checkout) and <code>ci</code> (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.<ref name=":1" /> === Advantages === * Simple structure and easy to work with <ref name=":2">{{Cite web|url=https://mauriziostorani.wordpress.com/2008/12/10/revision-control-concepts-revision-control-system-rcs-concurrent-versions-system-cvs-and-subversion/|title=Revision control concepts β Revision Control System (RCS), Concurrent Versions System (CVS) and Subversion|date=2008-12-10|website=IT PASSION - "IT professional Blog"|access-date=2017-02-20}}</ref> * Revision saving is not dependent on a central repository <ref name=":2" /> === Disadvantages === * There is little security, in the sense that the version history can be edited by the users.<ref name=":2" /> * Only one user can work on a file at a time.<ref>{{Cite web|url=https://www.ibr.cs.tu-bs.de/kb/revision-control.html|title=Revision Control Systems (RCS, CVS, Subversion, Git)|first=Frank|last=Steinberg|publisher=[[Technical University of Braunschweig]]|language=en|access-date=2017-02-20}}</ref> == Notes == {{Notelist}} == See also == * [[Concurrent Versions System]] (''CVS'') * [[Apache Subversion]] (''SVN'') == References == {{Reflist|35em}} '''Notes''' {{Refbegin}} * Walter F. Tichy: ''[http://www.uvm.edu/~ashawley/rcs/tichy1985rcs/html/ RCS--A System for Version Control]''. In: ''Software: Practice and Experience''. July 1985. Volume 15. Number 7. Pages 637β654. [http://citeseer.ist.psu.edu/tichy91rc.html References to the paper at CiteSeer] [https://www.cs.purdue.edu/homes/trinkle/RCS/rcs.ps alternate link to paper] {{Refend}} ==Further reading== * 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 * Paul Heinlein, [https://www.madboa.com/geek/rcs/ RCS HOWTO], 2004 ==External links== {{Portal|Free and open-source software}} * {{Official website}} * [http://www.cs.purdue.edu/homes/trinkle/RCS/ Original RCS at Purdue] * {{man|1|rcs|OpenBSD|RCS file management program}} {{Version control software}} {{Authority control}} {{Use dmy dates|date=February 2020}} [[Category:1985 software]] [[Category:Free version control software]] [[Category:GNU Project software]] [[Category:Software using the GNU General Public License]] [[Category:Types of tools used in software development]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Authority control
(
edit
)
Template:Citation needed
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Full citation needed
(
edit
)
Template:Infobox software
(
edit
)
Template:Lead too short
(
edit
)
Template:Man
(
edit
)
Template:Notelist
(
edit
)
Template:Official website
(
edit
)
Template:Portal
(
edit
)
Template:Quote
(
edit
)
Template:Refbegin
(
edit
)
Template:Refend
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Use dmy dates
(
edit
)
Template:Version control software
(
edit
)
Search
Search
Editing
Revision Control System
Add topic