Accès aux identifiants
Reads repository config, credential helpers, auth files, and local history.
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mercurial pour les workflows d'agents IA.
sécurité des agents
mercurial mutates source-control repositories and remote history.
Reads repository config, credential helpers, auth files, and local history.
Can push changesets, tags, bookmarks, and remote repository changes.
Can publish source changes and release tags.
Gate pushes, credential reads, destructive history operations, and tag creation.
Allow status/log/diff; require approval for pushes, credential use, and history rewrites.
installation
brew install mercuriallocal Homebrew formula metadata
sudo port install mercurialMacPorts ports tree · devel/mercurial/Portfile · Source: api.github.com
sudo apk add mercurialAlpine Linux edge package indexes · mercurial · Source: dl-cdn.alpinelinux.org
sudo apt install mercurialDebian stable package indexes · mercurial · Source: deb.debian.org
sudo dnf install mercurialFedora Rawhide package metadata · mercurial · Source: dl.fedoraproject.org
nix profile install nixpkgs#mercurialnixpkgs package indexes · pkgs/by-name/me/mercurial/package.nix · Source: api.github.com
sudo pacman -S mercurialArch Linux sync databases · mercurial · Source: geo.mirror.pkgbuild.com
sudo zypper install mercurialopenSUSE Tumbleweed package metadata · mercurial · Source: download.opensuse.org
scoop install main/mercurialScoop official bucket manifest trees · bucket/mercurial.json · Source: api.github.com
winget install --id Mercurial.Mercurial -eWindows Package Manager source index · Mercurial.Mercurial · Source: cdn.winget.microsoft.com
choco install hgChocolatey community package catalog · hg · Source: community.chocolatey.org
aperçu
Scalable distributed version control system
historique
Mercurial is a distributed source-control management system invoked mainly through the hg command. Matt Mackall, later Olivia Mackall, started it in April 2005 after Linux kernel developers lost the free BitKeeper arrangement. The Architecture of Open Source Applications describes Mercurial and Git as parallel 2005 responses to the need for a scalable distributed VCS capable of handling large kernel-sized histories; it also notes Mackall's early goals of simplicity, scalability, and efficiency.
Technically, Mercurial stores project history as a distributed graph of changesets. Like Git, it uses SHA-1-derived changeset identifiers, but it emphasizes a comparatively small, coherent command set and a clone model where most operations are local. The official Mercurial site positions it as a free distributed SCM that handles projects of any size, supports many workflows, and can be extended.
Mercurial's adoption history is strongly tied to large repositories and to teams that valued a scriptable CLI with a less sprawling user model than Git. Facebook selected Mercurial while replacing a Subversion server plus Git mirror, then published work on scaling it for a repository with thousands of weekly commits and hundreds of thousands of files. That scaling lineage later connected to Mononoke and Sapling: Meta's Sapling README says Sapling's CLI was originally based on Mercurial and shares aspects of Mercurial's UI and features, while Mononoke is described as a Mercurial source-control server for large monorepos.
For package managers, Mercurial is a classic cross-platform developer tool rather than an application-specific CLI. It appears across Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Windows package managers, and others, with hg as the primary executable and chg as a command server client for faster repeated commands.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour mercurial. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.hgrc$XDG_CONFIG_HOME/hg/hgrc~/.config/hg/hgrcCredential-bearing paths to review before unattended agent runs.
~/.hgrc$XDG_CONFIG_HOME/hg/hgrc~/.config/hg/hgrcexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
chg | cli | exécutable global | |
hg | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:mercurial |
|---|---|
| Version | 7.2.3 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/mercurial |
| Page d'accueil | https://mercurial-scm.org/ |
| Dépôt | https://foss.heptapod.net/mercurial/mercurial-devel |
| Docs amont | https://www.mercurial-scm.org/ |
| Licence | GPL-2.0-or-later |
| Archive source | https://www.mercurial-scm.org/release/mercurial-7.2.3.tar.gz |
| Dernière mise à jour | 2026-06-29T18:50:44Z |
| Pulse | updated |
| Dépendances | python@3.14 |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mercurial |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
mercurial 7.0.1-2
easy-to-use, scalable distributed version control system
https://www.mercurial-scm.org/
sudo apt install mercurialmercurial-common 7.0.1-2
easy-to-use, scalable distributed version control system (common files)
https://www.mercurial-scm.org/
sudo apt install mercurial-commonmercurial
nix profile install nixpkgs#mercurialmercurial 6.7.2-1ubuntu2
easy-to-use, scalable distributed version control system
https://www.mercurial-scm.org/
sudo apt install mercurialmercurial-common 6.7.2-1ubuntu2
easy-to-use, scalable distributed version control system (common files)
https://www.mercurial-scm.org/
sudo apt install mercurial-commonmercurial 7.2.1-r0
Scalable distributed SCM tool
https://www.mercurial-scm.org/
sudo apk add mercurialmercurial-bash-completion 7.2.1-r0
Bash completions for mercurial
https://www.mercurial-scm.org/
sudo apk add mercurial-bash-completionmercurial-chg 7.2.1-r0
Client for Mercurial command server with cHg extension
https://www.mercurial-scm.org/
sudo apk add mercurial-chgmercurial-doc 7.2.1-r0
Scalable distributed SCM tool (documentation)
https://www.mercurial-scm.org/
sudo apk add mercurial-docmercurial-lang 7.2.1-r0
translations for mercurial
https://www.mercurial-scm.org/
sudo apk add mercurial-langmercurial-pyc 7.2.1-r0
Precompiled Python bytecode for mercurial
https://www.mercurial-scm.org/
sudo apk add mercurial-pycmercurial-vim 7.2.1-r0
Vim syntax for mercurial
https://www.mercurial-scm.org/
sudo apk add mercurial-vimmercurial-zsh-completion 7.2.1-r0
Zsh completions for mercurial
https://www.mercurial-scm.org/
sudo apk add mercurial-zsh-completionmercurial 7.2.1-2.fc45
A fast, lightweight Source Control Management system
sudo dnf install mercurialmercurial-chg 7.2.1-2.fc45
A fast Mercurial command without slow Python startup
sudo dnf install mercurial-chgmercurial-hgk 7.2.1-2.fc45
Hgk interface for mercurial
sudo dnf install mercurial-hgkpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.