認証情報アクセス
Reads repository config, credential helpers, auth files, and local history.
brew
mercurial のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
エージェント安全性
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.
インストール
brew install mercuriallocal Homebrew formula metadata
sudo port install mercurialMacPorts ports tree · devel/mercurial/Portfile · ソース: api.github.com
sudo apk add mercurialAlpine Linux edge package indexes · mercurial · ソース: dl-cdn.alpinelinux.org
sudo apt install mercurialDebian stable package indexes · mercurial · ソース: deb.debian.org
sudo dnf install mercurialFedora Rawhide package metadata · mercurial · ソース: dl.fedoraproject.org
nix profile install nixpkgs#mercurialnixpkgs package indexes · pkgs/by-name/me/mercurial/package.nix · ソース: api.github.com
sudo pacman -S mercurialArch Linux sync databases · mercurial · ソース: geo.mirror.pkgbuild.com
sudo zypper install mercurialopenSUSE Tumbleweed package metadata · mercurial · ソース: download.opensuse.org
scoop install main/mercurialScoop official bucket manifest trees · bucket/mercurial.json · ソース: api.github.com
winget install --id Mercurial.Mercurial -eWindows Package Manager source index · Mercurial.Mercurial · ソース: cdn.winget.microsoft.com
choco install hgChocolatey community package catalog · hg · ソース: community.chocolatey.org
概要
Scalable distributed version control system
履歴
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.
セキュリティ状態
mercurial に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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/hgrc実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
chg | cli | グローバル実行可能ファイル | |
hg | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:mercurial |
|---|---|
| バージョン | 7.2.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/mercurial |
| ホームページ | https://mercurial-scm.org/ |
| リポジトリ | https://foss.heptapod.net/mercurial/mercurial-devel |
| 上流ドキュメント | https://www.mercurial-scm.org/ |
| ライセンス | GPL-2.0-or-later |
| ソースアーカイブ | https://www.mercurial-scm.org/release/mercurial-7.2.3.tar.gz |
| 最終更新 | 2026-06-29T18:50:44Z |
| Pulse | updated |
| 依存関係 | python@3.14 |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-hgkソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.