Revision control (also known as version control (system) (VCS), source control or (source) code management (SCM)) is the management of multiple revisions of the same unit of information. It is most commonly used in engineering and software development to manage ongoing development of digital documents like application source code, art resources such as blueprints or electronic models, and other projects that may be worked on by a team of people. Engineering is the Discipline and Profession of applying technical and scientific Knowledge and Software development is the translation of a user need or marketing goal into a Software product In Computer science, source code (commonly just source or code) is any sequence of statements or declarations written in some Human-readable A blueprint is a type of paper-based reproduction usually of a Technical drawing, documenting an Architecture or an Engineering design A team comprises a group of people or Animals linked in a common purpose Changes to these documents are usually identified by incrementing an associated number or letter code, termed the "revision number", "revision level", or simply "revision" and associated historically with the person making the change. A simple form of revision control, for example, has the initial issue of a drawing assigned the revision number "1". When the first change is made, the revision number is incremented to "2" and so on.
Version control systems are most commonly stand-alone applications, but revision control is also embedded in various types of software like word processors (e. g. Microsoft Word, OpenOffice.org Writer, KOffice, Pages, Google Docs), spreadsheets (e. Microsoft Word is Microsoft 's flagship word processing software. OpenOfficeorg Writer is the Word processor component of the OpenOffice KOffice is an Office suite for the K Desktop Environment ( KDE) Past Global Changes ( PAGES) founded in 1991 is a core project of the International Geosphere-Biosphere Programme (IGBP and is funded by the U Google Docs is a free Web-based Word processor, Spreadsheet, and Presentation application offered by Google. g. OpenOffice.org Calc, Google Spreadsheets), in various content management systems. OpenOfficeorg Calc is the Spreadsheet component of the OpenOffice Google Docs is a free Web-based Word processor, Spreadsheet, and Presentation application offered by Google. A content management system ( CMS) is a computer application used to create edit manage and publish content in a consistently organized fashion Integrated revision control is a key feature of wiki software packages such as MediaWiki, TWiki, etc. Wiki software is a type of Collaborative software that runs a Wiki system MediaWiki is a web-based Wiki software application used by all projects of the Wikimedia Foundation, all wikis hosted by Wikia, and Twiki is a Fictional character on the TV show Buck Rogers in the 25th Century. In wikis, revision control allows for the ability to revert a page to a previous revision, which is critical for defending a public wiki against vandalism and spam, to allow legitimate users to correct their mistakes, and to allow groups of editors to track each other's edits. A wiki is a page or collection of Web pages designed to enable anyone who accesses it to contribute or modify content using a simplified Markup language.
Software tools for revision control are increasingly recognized as being necessary for the organization of multi-developer projects. This is a list of notable Software for Revision control. Distributed model In the distributed approach, each developer works directly with their own [1]
Contents |
Engineering revision control developed from formalized processes based on tracking revisions of early blueprints or bluelines. Whiteprint is the commercial terminology to describe document reproduction using the Diazo chemical process Implicit in this control was the ability to return to any earlier state of the design, for cases in which an engineering dead-end was reached in the development of the design. Likewise, in computer software engineering, revision control is any practice that tracks and provides control over changes to source code. Software engineering is the application of a systematic disciplined quantifiable approach to the development operation and maintenance of Software. Software developers sometimes use revision control software to maintain documentation and configuration files as well as source code. A software developer is a person or organization concerned with facets of the software development process wider than design and coding a somewhat broader scope of In Computing, configuration files, or config files', are used to configure the initial settings for some Computer programs They are used Also, version control is widespread in business and law. Indeed, "contract redline" and "legal blackline" are some of the earliest forms of revision control, and are still employed with varying degrees of sophistication. An entire industry has emerged to service the document revision control needs of business and other users, and some of the revision control technology employed in these circles is subtle, powerful, and innovative. The most sophisticated techniques are beginning to be used for the electronic tracking of changes to CAD files (see Product Data Management), supplanting the "manual" electronic implementation of traditional revision control. Product data management ( PDM) is the business function within Product lifecycle management that is responsible for the creation management and publication of
As software is designed, developed and deployed, it is extremely common for multiple versions of the same software to be deployed in different sites, and for the software's developers to be working simultaneously on updates. Bugs and other issues with software are often only present in certain versions (because of the fixing of some problems and the introduction of others as the program develops). A software bug (or just “bug” is an error flaw mistake Failure, fault or “undocumented feature” in a Computer program that prevents it Therefore, for the purposes of locating and fixing bugs, it is vitally important to be able to retrieve and run different versions of the software to determine in which version(s) the problem occurs. It may also be necessary to develop two versions of the software concurrently (for instance, where one version has bugs fixed, but no new features, while the other version is where new features are worked on).
At the simplest level, developers could simply retain multiple copies of the different versions of the program, and number them appropriately. This simple approach has been used on many large software projects. While this method can work, it is inefficient as many near-identical copies of the program have to be maintained. This requires a lot of self-discipline on the part of developers, and often leads to mistakes. Consequently, systems to automate some or all of the revision control process have been developed.
Moreover, in software development and other environments, including in legal and business practice, it is increasingly common for a single document or snippet of code to be edited by a team, the members of which may be geographically diverse and/or may pursue different and even contrary interests. Sophisticated revision control that tracks and accounts for ownership of changes to documents and code may be extremely helpful or even necessary in such situations.
Another use for revision control is to track changes to configuration files, such as those typically stored in /etc or /usr/local/etc on Unix systems. This gives system administrators another way to easily track changes to configuration files and a way to roll back to earlier versions should the need arise.
Most often only one of the terms baseline, label, or tag are used in documentation or discussion and can be considered synonyms. Most revision control tools will use only one of baseline, label, or tag to refer to the action of identifying a snapshot ("label the project") or the record of the snapshot ("try it with baseline X"). However, in most projects some snapshots are more significant than others, such as those used to indicate published releases, branches, or milestones.
When both the term baseline and either of label or tag are used together in the same context, label and tag are usually used to refer to the mechanism within the tool of identifying or making the record of the snapshot and baseline is used to indicate increased significance of any given label or tag.
Baseline is the term used in most formal discussion of configuration management. Configuration management is the process of managing change in hardware software firmware documentation measurements etc Configuration management (CM is a field of Management that focuses on establishing and maintaining consistency of a product's performance and its functional and physical attributes
Most revision control software can use delta compression, which retains only the differences between successive versions of files. Delta encoding is a way of storing or transmitting Data in the form of differences between sequential data rather than complete files This allows more efficient storage of many different versions of files.
Traditional revision control systems use a centralized model, where all the revision control functions are performed on a shared server. A server is a Computer dedicated to providing one or more services over a computer network typically through a request-response routine If two developers try to change the same file at the same time, without some method of managing access the developers may end up overwriting each other's work. Centralized revision control systems solve this problem in one of 2 different "source management models": file locking and version merging.
The simplest method of preventing "concurrent access" problems is to lock files so that only one developer at a time has write access to the central "repository" copies of those files. In Computer science, especially in the fields of Computer programming (see also Concurrent programming, Parallel programming) Operating systems Once one developer "checks out" a file, others can read that file, but no one else is allowed to change that file until that developer "checks in" the updated version (or cancels the checkout).
File locking has merits and drawbacks. It can provide some protection against difficult merge conflicts when a user is making radical changes to many sections of a large file (or group of files). But if the files are left exclusively locked for too long, other developers can be tempted to simply bypass the revision control software and change the files locally anyway. That can lead to more serious problems.
Most version control systems, such as CVS, allow multiple developers to edit the same file at the same time. In the field of Software development, the Concurrent Versions System ( CVS) also known as the Concurrent Versioning System, provides a Version The first developer to "check in" changes to the central repository always succeeds. The system provides facilities to merge changes into the central repository, so the changes from the first developer are preserved when the other developers check in.
The concept of a reserved edit can provide an optional means to explicitly lock a file for exclusive write access, even though a merging capability exists.
Distributed revision control (DRCS) takes a peer-to-peer approach, as opposed to the client-server approach of centralized systems. Rather than a single, central repository on which clients synchronize, each peer's working copy of the codebase is a bona-fide repository. [2] Synchronization is conducted by exchanging patches (change-sets) from peer to peer. This results in some striking differences from a centralized system:
There are two types of distributed systems: open and closed. Open systems are tuned more to open-source development, and closed systems to traditional, single baseline, development.
An open system of distributed revision control is characterized by its support for independent branches, and its heavy reliance on merge operations. Its general characteristics are:
One of the first open systems was BitKeeper, notable for its use in the development of the Linux kernel. BitKeeper is a Software tool for Distributed revision control ( Configuration management, SCM, etc Linux is an operating system kernel used by a family of Unix-like Operating systems These are popularly termed Linux operating systems and A later decision by the makers of BitKeeper to restrict its licensing led the Linux developers on a search for a free replacement[4]. Common open systems now in free use are:
A closed system of distributed revision control is based on a replicated database. Mercurial is a Cross-platform, Distributed revision control tool for Software developers It is mainly implemented using the Python programming Monotone is an Open source Software tool for Distributed revision control. SVK (also written svk) is a decentralized Version control system written in Perl, with a hierarchical distributed design comparable to centralized deployment The following tables compare general and technical information for notable Revision control and Software configuration management (SCM Software. Replication is the process of sharing information so as to ensure consistency between redundant resources such as Software or Hardware components to improve reliability A Computer Database is a structured collection of records or data that is stored in a computer system A check-in is equivalent to a distributed commit. In the context of Computer science and Data management, commit refers to the idea of making a set of tentative changes permanent Successful commits create a single baseline. An example of a closed distributed system is Code Co-op. Code Co-op is the Peer-to-peer Version control system made by Reliable Software.
Some of the more advanced revision control tools offer many other facilities, allowing deeper integration with other tools and software engineering processes. Plugins are often available for IDEs such as IntelliJ IDEA, Eclipse and Visual Studio. In Computing, an integrated development environment ( IDE) is a Software application that provides comprehensive facilities to Computer programmers IntelliJ IDEA is a commercial Java IDE by the company JetBrains. In Computing, Eclipse is a Software platform comprising extensible Application frameworks tools and a Runtime library for Software Microsoft Visual Studio is the main Integrated Development Environment (IDE from Microsoft. NetBeans IDE comes with integrated version control support. NetBeans refers to both a platform for the development
Terminology can vary from system to system, but here are some terms in common usage. [5][6]