HOME

TheInfoList



OR:

The following tables describe attributes of notable
version control Version control (also known as revision control, source control, and source code management) is the software engineering practice of controlling, organizing, and tracking different versions in history of computer files; primarily source code t ...
and software configuration management (SCM)
systems A system is a group of interacting or interrelated elements that act according to a set of rules to form a unified whole. A system, surrounded and influenced by its environment, is described by its boundaries, structure and purpose and is exp ...
that can be used to compare and contrast the various systems. For SCM software not suitable for
source code In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer. Since a computer, at base, only ...
, see Comparison of open-source configuration management software.


General information

The following table contains relatively general attributes of version-control software systems, including: *Repository model, the relationship between copies of the
source code repository In version control systems, a repository is a data structure that stores metadata for a set of files or directory structure. Depending on whether the version control system in use is distributed, like Git or Mercurial, or centralized, like Subv ...
** Client–server, users access a master repository via a client; typically, their local machines hold only a working copy of a project tree. Changes in one working copy must be committed to the master repository before they are propagated to other users. ** Distributed, repositories act as peers, and users typically have a local repository with version history available, in addition to their working copies. *Concurrency model, how changes to the working copy are managed to prevent simultaneous edits from causing nonsensical data in the repository. **''Lock'', changes are disallowed until the user requests and receives an exclusive lock on the file from the master repository. **''Merge'', users may freely edit files, but are informed of possible conflicts upon checking their changes into the repository, whereupon the version control system may merge changes on both sides, or let the user decide when conflicts arise. Distributed version control systems usually use a merge concurrency model.


Technical information

The following table shows technical details of some well-known version-control software. These are classified based on the following headers: Table explanation * ''Software'': The name of the application that is described. * ''Programming language'': The coding language in which the application is being developed * ''Storage Method'': Describes the form in which files are stored in the repository. A ''snapshot'' indicates that a committed file(s) is stored in its entirety—usually compressed. A ''
changeset In version control software, a changeset (also known as commit and revision) is a set of alterations packaged together, along with meta-information about the alterations. A changeset describes the exact differences between two successive versio ...
'', in this context, indicates that a committed file(s) is stored in the form of a difference between either the previous version or the next. * ''Scope of change'': Describes whether changes are recorded for individual ''files'' or for entire directory ''trees''. * ''Revision IDs'': are used internally to identify specific versions of files in the repository. Systems may use ''
pseudorandom A pseudorandom sequence of numbers is one that appears to be statistically random, despite having been produced by a completely deterministic and repeatable process. Pseudorandom number generators are often used in computer programming, as tradi ...
'' identifiers, content hashes of revisions, or filenames with sequential version numbers (''namespace''). With Integrated Difference, revisions are based on the Changesets themselves, which can describe changes to more than one file. * ''Network protocols'': lists the
protocols Protocol may refer to: Sociology and politics * Protocol (politics), a formal agreement between nation states * Protocol (diplomacy), the etiquette of diplomacy and affairs of state * Etiquette, a code of personal behavior Science and technology ...
used for synchronization of changes. * ''Source code size'': Gives the size of the source code in megabytes.


Features

The following table classifies some well-known software on the basis of its features and capabilities: Table explanation * ''Software'': The name of the application that is described. * '' Atomic commits'': refers to a guarantee that all changes are made, or that no change at all will be made. * ''File renames'': describes whether a system allows files to be renamed while retaining their version history. * ''Merge file renames'': describes whether a system can merge changes made to a file on one branch into the same file that has been renamed on another branch (or vice versa). If the same file has been renamed on both branches then there is a rename conflict that the user must resolve. * '' Symbolic links'': describes whether a system allows revision control of symbolic links as with regular files. Versioning symbolic links is considered by some people a feature and some people a security breach (e.g., a symbolic link to /etc/passwd). Symbolic links are only supported on select platforms, depending on the software. * ''Pre-/post-event hooks'': indicates the capability to trigger commands before or after an action, such as a commit, takes place. * '' Signed revisions'': refers to integrated digital signing of revisions, in a format such as OpenPGP. * ''Merge tracking'': describes whether a system remembers what changes have been merged between which branches and only merges the changes that are missing when merging one branch into another. * '' End of line conversions'': describes whether a system can adapt the end of line characters for text files such that they match the end of line style for the operating system under which it is used. The granularity of control varies. Subversion, for example, can be configured to handle EOLs differently according to the file type, whereas Perforce converts all text files according to a single, per-client setting. * '' Tags'': indicates if meaningful names can be given to specific revisions, regardless of whether these names are called tags or labels. * ''International support'': indicates if the software has support for multiple language environments and operating system * ''Unicode filename support'': indicates if the software has support for interoperations under file systems using different
character encoding Character encoding is the process of assigning numbers to graphical character (computing), characters, especially the written characters of human language, allowing them to be stored, transmitted, and transformed using computers. The numerical v ...
s. * ''Supports large repos'': Can the system handle repositories of around a gigabyte or larger effectively?


Advanced features

The following are some more advanced features and capabilities available in notable version-control systems: Table explanation * ''Keyword expansion'': supports automatic expansion of keywords such as file revision number. * ''Interactive commits'': interactive commits allow the user to cherrypick common lines of code used to anchor files (patch-hunks) that become part of a commit (leaving unselected changes as changes in the working copy), instead of having only a file-level granularity. * ''External references'': embedding of foreign repositories in the source tree * ''Partial checkout/clone'': ability to check out or clone only a specified subdirectory from a repository. * ''Permissions'': tracks file permission bits in the revision history. * ''
Timestamp A timestamp is a sequence of characters or encoded information identifying when a certain event occurred, usually giving date and time of day, sometimes accurate to a small fraction of a second. Timestamps do not have to be based on some absolu ...
preservation'': overwrites the ''last modified'' filesystem attribute with the commit time upon checkout. * ''Custom automatic merge tool'': automatic merging can be attempted by any tool of the user's choice (hopefully configurable on a per-file basis) * ''Supported formats'': either read/write support or read-only (conversion, potentially repeated) * ''Shared build cache of derived objects'': the ability to automatically substitute (wink-in) derived-objects that were built by other confederated clients that share exactly the same dependencies instead of rebuilding them locally


Basic commands

The following table provides further information about commands available in notable version-control systems. Table explanation * ''Repository init'': Create a new empty repository (i.e., version control database) * ''clone'': Create an identical instance of a repository (in a safe transaction) * ''pull'': Download revisions from a remote repository to a local repository * ''push'': Upload revisions from a local repository to a remote repository * ''Local branches'': Create a local branch that does not exist in the original remote repository * ''checkout'': Create a local working copy from a (remote) repository * ''update'': Update the files in a working copy with the latest version from a repository * ''lock'': Lock files in a repository from being changed by other users * ''add'': Mark specified files to be added to repository at next commit * ''remove'': Mark specified files to be removed at next commit (note: keeps cohesive revision history of before and at the remove.) * ''move'': Mark specified files to be moved to a new location at next commit * ''copy'': Mark specified files to be copied at next commit * ''merge'': Apply the differences between two sources to a working copy path * ''commit'': Record changes in the repository * ''revert'': Restore working copy file from repository * ''generate bundle file'': Create a file that contains a compressed set of changes to a given repository * ''rebase'': Forward-port local commits to the updated upstream head * Note: Commands in green rectangles that are not surrounded by quare bracketsare at an interactive command-line prompt. Text in quare bracketsis an explanation of where to find equivalent functionality.


Advanced commands

The following table shows the commands used to execute common tasks in notable version-control systems. Table explanation * ''Command aliases'': create custom aliases for specific commands or combination thereof * ''Lock/unlock'': exclusively lock a file to prevent others from editing it * ''Shelve/unshelve'': temporarily set aside part or all of the changes in the working directory * ''Rollback'': remove a patch/revision from history * ''Cherry-picking'': move only some revisions from a branch to another one (instead of merging the branches) * ''Bisect'': binary search of source history for a change that introduced or fixed a regression * ''Incoming/outgoing'': query the differences between the local repository and a remote one (the patches that would be fetched/sent on a pull/push) * ''Grep'': search repository for lines matching a pattern * ''Record'': include only some changes to a file in a commit and not others * Note: Commands in green rectangles that are not surrounded by quare bracketsare at an interactive command-line prompt. Text in quare bracketsis an explanation of where to find equivalent functionality.


User interfaces

The following table gives Web, GUI and IDE Interface specifications for notable version-control systems. Table explanation * ''Software'': The name of the application that is described. * ''Web Interface'': Describes whether the software application contains a web interface. A web interface could allow the software to post diagnostics data to a website, or could even allow remote control of the software application. * ''GUIs'': A GUI is a graphical user interface. If a software product features a GUI its functionality can be accessed through application windows as opposed to accessing functionality based upon typing commands at the command prompt such as a DOS interface. * ''Plug-ins'': functions are available through an
integrated development environment An integrated development environment (IDE) is a Application software, software application that provides comprehensive facilities for software development. An IDE normally consists of at least a source-code editor, build automation tools, an ...
. Minimum function should be to list the revision state of a file and check in/check out files.


History and adoption

The following table provides historic background notes on various version-control systems: Table explanation * ''Software'': The name of the application that is described. * ''History'': briefly describes the software's origins and development. * ''Notable current users'': is a list of well known projects using the software as their ''primary'' revision control system, excluding the software itself, followed by a link to a full list if available.


See also

*
Comparison of source-code-hosting facilities A source-code-hosting facility (also known as forge software) is a file archive and web hosting facility for source code of software, documentation, web pages, and other works, accessible either publicly or privately. They are often used by open- ...
* List of version-control software


Notes


References

{{Version control software Version control software