Automic VaultAutomic Vault

brew / 受保护工具覆盖 / 排名 974

安装 mercurial

查看 mercurial 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

agent safety

Agent safety answer

mercurial mutates source-control repositories and remote history.

Credential access

Reads repository config, credential helpers, auth files, and local history.

Remote mutation

Can push changesets, tags, bookmarks, and remote repository changes.

Publish/artifact risk

Can publish source changes and release tags.

Recommended control

Gate pushes, credential reads, destructive history operations, and tag creation.

Agent-use guidance

Allow status/log/diff; require approval for pushes, credential use, and history rewrites.

安装

使用 Automic Vault 安装

Automic Vault
下载 AV
sudo av install brew:mercurial

macOS

Homebrewverified · 100%
brew install mercurial

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mercurial

MacPorts ports tree · devel/mercurial/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add mercurial

Alpine Linux edge package indexes · mercurial · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install mercurial

Debian stable package indexes · mercurial · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install mercurial

Fedora Rawhide package metadata · mercurial · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#mercurial

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

Arch Linux pacmanverified · 92%
sudo pacman -S mercurial

Arch Linux sync databases · mercurial · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install mercurial

openSUSE Tumbleweed package metadata · mercurial · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/mercurial

Scoop official bucket manifest trees · bucket/mercurial.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Mercurial.Mercurial -e

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

Chocolateyverified · 92%
choco install hg

Chocolatey community package catalog · hg · source: community.chocolatey.org

平台说明

  • 没有特定于此软件包的平台说明。

概览

软件包摘要

Scalable distributed version control system

命令和别名

  • chg
  • hg

受保护工具覆盖

Plain Text Mercurial Auth Passwords

Mercurial user hgrc files can contain [auth] password fields and password-bearing repository URLs. Our isotope stores those hgrc files in the macOS keychain and injects them through temporary HOME/XDG_CONFIG_HOME and HGRCPATH values while `hg` runs.

Risk classifier

green risk · low confidence · appliance

Why

  • no executable entrypoint in the package index

Signals

  • metadata:no-indexed-executables

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 1 runtime dependencies.

本地 README 摘录

Mercurial

Mercurial reads user configuration from ~/.hgrc and ~/.config/hg/hgrc. Those files can contain [auth] credentials, including password fields and password-bearing remote URLs.

This protected-tool coverage migrates those hgrc files to the keychain and wraps hg so they are recreated under a temporary home/config tree while Mercurial runs.

来源: local coverage notes

覆盖来源

来源摘录

Caveats

  • Runtime edits to hgrc are not persisted back to keychain.
  • Direct execution of the original binary will not receive credentials.

可执行文件

已安装的可执行文件

命令类型暴露范围备注
chgcliglobal executable
hgcliglobal executable

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-06-10
管理器版本7.2.2
管理器更新时间2026-06-08
本地数据ok
上游not checked
检测到的最新版本not detected

https://mercurial-scm.org/

安装元数据

软件包元数据

Package keybrew:mercurial
Version7.2.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mercurial
Homepagehttps://mercurial-scm.org/
Repositoryhttps://foss.heptapod.net/mercurial/mercurial-devel
Upstream docshttps://www.mercurial-scm.org/
LicenseGPL-2.0-or-later
Source archivehttps://www.mercurial-scm.org/release/mercurial-7.2.2.tar.gz
Last updated2026-06-08T02:28:30Z
Pulseupdated
Dependenciespython@3.14
Bottleavailable (arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 1 provides
  • 8 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 7 optional deps
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • 8 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 7 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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-1.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 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: 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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst
dnf95%

mercurial-chg 7.2.1-1.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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst
dnf95%

mercurial-hgk 7.2.1-1.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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • external package-manager database matches
  • local coverage README
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • secret-handling manifest