Credential-Zugriff
Reads repository config, credential helpers, auth files, and local history.
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für mercurial in AI-Agent-Workflows.
Agent-Sicherheit
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 · Quelle: api.github.com
sudo apk add mercurialAlpine Linux edge package indexes · mercurial · Quelle: dl-cdn.alpinelinux.org
sudo apt install mercurialDebian stable package indexes · mercurial · Quelle: deb.debian.org
sudo dnf install mercurialFedora Rawhide package metadata · mercurial · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#mercurialnixpkgs package indexes · pkgs/by-name/me/mercurial/package.nix · Quelle: api.github.com
sudo pacman -S mercurialArch Linux sync databases · mercurial · Quelle: geo.mirror.pkgbuild.com
sudo zypper install mercurialopenSUSE Tumbleweed package metadata · mercurial · Quelle: download.opensuse.org
scoop install main/mercurialScoop official bucket manifest trees · bucket/mercurial.json · Quelle: api.github.com
winget install --id Mercurial.Mercurial -eWindows Package Manager source index · Mercurial.Mercurial · Quelle: cdn.winget.microsoft.com
choco install hgChocolatey community package catalog · hg · Quelle: community.chocolatey.org
Überblick
Scalable distributed version control system
Verlauf
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.
Sicherheitslage
Für mercurial wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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/hgrcExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
chg | cli | globales Executable | |
hg | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:mercurial |
|---|---|
| Version | 7.2.3 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/mercurial |
| Homepage | https://mercurial-scm.org/ |
| Repository | https://foss.heptapod.net/mercurial/mercurial-devel |
| Upstream-Dokumentation | https://www.mercurial-scm.org/ |
| Lizenz | GPL-2.0-or-later |
| Quellarchiv | https://www.mercurial-scm.org/release/mercurial-7.2.3.tar.gz |
| Zuletzt aktualisiert | 2026-06-29T18:50:44Z |
| Pulse | updated |
| Abhängigkeiten | python@3.14 |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-hgkQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.