Automic VaultAutomic Vault

brew

mercurial を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget, chocolatey でインストール

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.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install mercurial

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install mercurial

MacPorts ports tree · devel/mercurial/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add mercurial

Alpine Linux edge package indexes · mercurial · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install mercurial

Debian stable package indexes · mercurial · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install mercurial

Fedora Rawhide package metadata · mercurial · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#mercurial

nixpkgs package indexes · pkgs/by-name/me/mercurial/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S mercurial

Arch Linux sync databases · mercurial · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install mercurial

openSUSE Tumbleweed package metadata · mercurial · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/mercurial

Scoop official bucket manifest trees · bucket/mercurial.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id Mercurial.Mercurial -e

Windows Package Manager source index · Mercurial.Mercurial · ソース: cdn.winget.microsoft.com

Chocolatey確認済み · 92%
choco install hg

Chocolatey 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 パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.hgrc$XDG_CONFIG_HOME/hg/hgrc~/.config/hg/hgrc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.hgrc$XDG_CONFIG_HOME/hg/hgrc~/.config/hg/hgrc

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
chgcliグローバル実行可能ファイル
hgcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版7.2.3
マネージャ更新日2026-06-29
ローカルデータOK
上流not checked
検出された最新未検出

https://mercurial-scm.org/

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係python@3.14
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemercurial
Aliases
  • hg
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

mercurial 7.0.1-2

easy-to-use, scalable distributed version control system

https://www.mercurial-scm.org/

sudo apt install mercurial
  • Section: vcs
  • Architecture: amd64
  • 4 依存関係
  • 1 提供
  • 8 任意依存関係
  • normalized package name match
  • 一致条件: Mercurial
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mercurial from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mercurial-common 7.0.1-2

easy-to-use, scalable distributed version control system (common files)

https://www.mercurial-scm.org/

sudo apt install mercurial-common
  • Section: vcs
  • Architecture: all
  • Source Package: mercurial
  • 1 依存関係
  • 7 任意依存関係
  • normalized package name match
  • 一致条件: Mercurial
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mercurial-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mercurial

nix profile install nixpkgs#mercurial
  • normalized package name match
  • 一致条件: Mercurial
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/mercurial/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

mercurial 6.7.2-1ubuntu2

easy-to-use, scalable distributed version control system

https://www.mercurial-scm.org/

sudo apt install mercurial
  • Section: universe/devel
  • Architecture: amd64
  • 4 依存関係
  • 1 提供
  • 8 任意依存関係
  • normalized package name match
  • 一致条件: Mercurial
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mercurial from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mercurial-common 6.7.2-1ubuntu2

easy-to-use, scalable distributed version control system (common files)

https://www.mercurial-scm.org/

sudo apt install mercurial-common
  • Section: universe/devel
  • Architecture: all
  • Source Package: mercurial
  • 1 依存関係
  • 7 任意依存関係
  • normalized package name match
  • 一致条件: Mercurial
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mercurial-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mercurial 7.2.1-r0

Scalable distributed SCM tool

https://www.mercurial-scm.org/

sudo apk add mercurial
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mercurial
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Mercurial
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mercurial from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mercurial-bash-completion 7.2.1-r0

Bash completions for mercurial

https://www.mercurial-scm.org/

sudo apk add mercurial-bash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mercurial
  • normalized package name match
  • 一致条件: Mercurial
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mercurial-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mercurial-chg 7.2.1-r0

Client for Mercurial command server with cHg extension

https://www.mercurial-scm.org/

sudo apk add mercurial-chg
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mercurial
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Mercurial
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mercurial-chg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mercurial-doc 7.2.1-r0

Scalable distributed SCM tool (documentation)

https://www.mercurial-scm.org/

sudo apk add mercurial-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mercurial
  • normalized package name match
  • 一致条件: Mercurial
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mercurial-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mercurial-lang 7.2.1-r0

translations for mercurial

https://www.mercurial-scm.org/

sudo apk add mercurial-lang
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mercurial
  • 1 依存関係
  • normalized package name match
  • 一致条件: Mercurial
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mercurial-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mercurial-pyc 7.2.1-r0

Precompiled Python bytecode for mercurial

https://www.mercurial-scm.org/

sudo apk add mercurial-pyc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mercurial
  • 1 依存関係
  • normalized package name match
  • 一致条件: Mercurial
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mercurial-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mercurial-vim 7.2.1-r0

Vim syntax for mercurial

https://www.mercurial-scm.org/

sudo apk add mercurial-vim
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mercurial
  • normalized package name match
  • 一致条件: Mercurial
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mercurial-vim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mercurial-zsh-completion 7.2.1-r0

Zsh completions for mercurial

https://www.mercurial-scm.org/

sudo apk add mercurial-zsh-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: mercurial
  • normalized package name match
  • 一致条件: Mercurial
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mercurial-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

mercurial 7.2.1-2.fc45

A fast, lightweight Source Control Management system

https://mercurial-scm.org/

sudo dnf install mercurial
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mercurial
  • 5 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Mercurial
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mercurial from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mercurial-chg 7.2.1-2.fc45

A fast Mercurial command without slow Python startup

https://mercurial-scm.org/

sudo dnf install mercurial-chg
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mercurial
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Mercurial
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mercurial-chg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mercurial-hgk 7.2.1-2.fc45

Hgk interface for mercurial

https://mercurial-scm.org/

sudo dnf install mercurial-hgk
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mercurial
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Mercurial
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mercurial-hgk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment