Mercurial Diuretics
   HOME

TheInfoList



OR:

Mercurial is a distributed revision control tool for
software developer Software development is the process of conceiving, specifying, designing, Computer programming, programming, software documentation, documenting, software testing, testing, and Software bugs, bug fixing involved in creating and maintaining applic ...
s. It is supported on
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
and Unix-like systems, such as
FreeBSD FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular ...
, macOS, and Linux. Mercurial's major design goals include high performance and scalability, decentralization, fully distributed collaborative development, robust handling of both plain text and binary files, and advanced branching and merging capabilities, while remaining conceptually simple. It includes an integrated web-interface. Mercurial has also taken steps to ease the transition for users of other version control systems, particularly
Subversion Subversion () refers to a process by which the values and principles of a system in place are contradicted or reversed in an attempt to transform the established social order and its structures of power, authority, hierarchy, and social norms. Sub ...
. Mercurial is primarily a command-line driven program, but graphical user interface extensions are available, e.g. TortoiseHg, and several IDEs offer support for version control with Mercurial. All of Mercurial's operations are invoked as arguments to its driver program hg (a reference to Hg – the chemical symbol of the element
mercury Mercury commonly refers to: * Mercury (planet), the nearest planet to the Sun * Mercury (element), a metallic chemical element with the symbol Hg * Mercury (mythology), a Roman god Mercury or The Mercury may also refer to: Companies * Merc ...
). Olivia Mackall originated Mercurial and served as its lead developer until late 2016. Mercurial is released as free software under the GPL-2.0-or-later license. It is mainly implemented using the Python programming language, but includes a binary diff implementation written in C.


History

Mackall first announced Mercurial on 19 April 2005. The impetus for this was the announcement earlier that month by Bitmover that they were withdrawing the free version of BitKeeper because of the development of SourcePuller. BitKeeper had been used for the version control requirements of the
Linux kernel The Linux kernel is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel. It was originally authored in 1991 by Linus Torvalds for his i386-based PC, and it was soon adopted as the kernel for the GNU ope ...
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 the now well-known Git project was initiated by Linus Torvalds with similar aims. The Linux kernel project decided to use Git rather than Mercurial, but Mercurial is now used by many other projects (see
below Below may refer to: *Earth *Ground (disambiguation) *Soil *Floor *Bottom (disambiguation) Bottom may refer to: Anatomy and sex * Bottom (BDSM), the partner in a BDSM who takes the passive, receiving, or obedient role, to that of the top or ...
). In an answer on the Mercurial mailing list, Olivia Mackall explained how the name "Mercurial" was chosen: High-profile projects such as the OpenJDK have used Mercurial in the past, though the OpenJDK no longer does as of Java 16.


Design

Mercurial uses SHA-1 hashes to identify revisions. For repository access via a network, Mercurial uses an 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. By default it uses a 3-way merge before calling external merge tools.


Usage

Figure 1 shows some of the most important operations in Mercurial and their relations to Mercurial's concepts.


Adoption

Although Mercurial was not selected to manage the Linux kernel sources, it has been adopted by several organizations, including Facebook, the W3C, and Mozilla. Facebook is using the Rust programming language to write Mononoke, a Mercurial server specifically designed to support large multi-project repositories. In 2013, Facebook adopted Mercurial and began work on scaling it to handle their large, unified code repository. Google also uses Mercurial client as a front-end on their cloud-based 'Piper' monorepo back-end. Bitbucket announced that its web-based version control services would end support for Mercurial in June 2020 (then extended to July 2020), explaining that "less than 1% of new projects use it, and developer surveys indicated that 90% of developers use Git".


Mercurial servers and repository management


Heptapod
a GitLab fork for Mercurial b
Octobus
* GNU Octavebr>
for Octave and related software * Kallithea (software), Kallithea, a GPLv3 fork of RhodeCode * Kiln by Fog Creek Software * Phabricator by
Phacility Phabricator is a suite of web-based development collaboration tools, which includes ''Differential'' code review tool, ''Diffusion'' repository browser, ''Herald'' change monitoring tool, ''Maniphest'' bug tracker, ''Phriction'' wiki. Ph ...
*
RhodeCode RhodeCode is an open source self-hosted platform for behind-the-firewall source code management. It provides centralized control over Git, Mercurial, and Subversion repositories within an organization, with common authentication and permission man ...
by RhodeCode Inc.


Source code hosting

The following websites provide free source code hosting for Mercurial repositories: * Bitbucket by Atlassian (deprecated from February 2020; read-only since July 2020) * Codebase * FusionForge * GNU Octave for Octave-related software and package

* GNU Savannah by FSF
Heptapod
*
Mozdev mozdev.org was a website that offered free project hosting, and software development tools to the Mozilla community. Site hosted extensions for Firefox, Thunderbird and SeaMonkey and stand-alone Mozilla-based applications. It was free to set up a ...
* OSDN * Others * Perforce * Puszcza (a sister site to GNU Savannah, hosted in Ukraine) * SourceForge * SourceHut * TuxFamily


Open source projects using Mercurial

Some projects using the Mercurial distributed RCS: * GNU Health * GNU Multi-Precision Library * GNU Octave * LEMON *
LiquidFeedback LiquidFeedback is free software for political opinion formation and decision making, combining aspects of representative and direct democracy. Its most important feature is the implementation of a delegated voting system ("liquid democracy") wh ...
* Mozilla (also uses Git/ GitHub) * Nginx * Orthanc *
Pidgin A pidgin , or pidgin language, is a grammatically simplified means of communication that develops between two or more groups of people that do not have a language in common: typically, its vocabulary and grammar are limited and often drawn from s ...
* PyPy *
RhodeCode RhodeCode is an open source self-hosted platform for behind-the-firewall source code management. It provides centralized control over Git, Mercurial, and Subversion repositories within an organization, with common authentication and permission man ...
*
Roundup A roundup is a systematic gathering together of people or things. Roundup, Round Up or Round-up may also refer to: Agriculture * A muster (livestock) (AU/NZ) or a roundup (US/CA) is the process of gathering livestock. * Roundup (herbicide), a M ...
*
Tryton ''Tryton'' is a three-tier high-level general purpose computer application platform on top of which is built an Enterprise resource planning (ERP) business solution through a set of Tryton modules. The three-tier architecture consists of the Tr ...
*
WinDirStat WinDirStat is a free and open-source graphical disk usage analyzer for Microsoft Windows. It presents a sub-tree view with disk-use percentage alongside a usage-sorted list of file extensions that is interactively integrated with a colorful graphi ...
* wmii * XEmacs * Xine


See also

* Comparison of version-control software * Distributed version control * List of version-control software


Notes


References


External links

* * , freely available online * * covering both basic and advanced use * * *
List of projects using Mercurial from the Mercurial wiki
* {{Revision control software 2005 software Cross-platform free software Distributed version control systems Free software programmed in C Free software programmed in Python Free version control software Version control systems