| Developer(s) | Matt Mackall |
|---|---|
| Stable release | 1.3 / 2009-07-01; 4 days ago |
| Written in | Python and C |
| Operating system | Unix-like, Windows, Mac OS X |
| Type | Revision control |
| License | GPL v2 |
| Website | www.selenic.com/mercurial |
Mercurial is a cross-platform, distributed revision control tool for software developers. It is mainly implemented using the Python programming language, but includes a binary diff implementation written in C. Mercurial was initially written to run on Linux. It has been ported to Windows, Mac OS X, and most other Unix-like systems. Mercurial is primarily a command line program. All of Mercurial's operations are invoked as keyword options to its driver program hg, a reference to the chemical symbol of the element mercury.
Mercurial's major design goals include high performance and scalability, decentralized, fully distributed collaborative development, robust handling of both plain text and binary files, and advanced branching and merging capabilities, while remaining conceptually simple.[1] It includes an integrated web interface.
The creator and lead developer of Mercurial is Matt Mackall. The source code is available under the terms of the GNU General Public License version 2, qualifying Mercurial as free software.
Contents |
Mercurial uses SHA-1 hashes to identify revisions. For repository access via a network, Mercurial uses HTTP-based protocol that seeks to reduce round-trip requests, new connections and data transferred. Mercurial can also work over ssh where the protocol is very similar to the HTTP-based protocol.
A comprehensive reference manual, Mercurial: The Definitive Guide,[2] has been written by Bryan O'Sullivan. The manual is freely available under the terms of the Open Publication License.
Mackall first announced Mercurial on April 19, 2005.[3] The immediate stimulus for this was the announcement earlier that month by Bitmover that they were withdrawing the free version of BitKeeper.
BitKeeper had been used for the version control requirements of the Linux kernel project. Mackall decided to write a distributed version control system as a replacement for use with the Linux kernel. This project started a few days after another project called Git, started by Linus Torvalds with similar aims.[4]
The Linux kernel project decided to use Git rather than Mercurial, but Mercurial is now used by many other projects (see below).
The following websites provide free source code hosting for Mercurial repositories:
Some projects using the Mercurial distributed RCS:[6]
The Python programming language announced that it will transition from Subversion to Mercurial, however the timeframe has not been announced yet (As of June 2009[update]). [12][13]
stock | retire | vm
Why are we here?
All text is available under the terms of the GNU Free Documentation License
This page is cache of Wikipedia. History