pkg.sopackage field notes

brew / 排名 1029

使用 Homebrew 安装 mercurial

查看 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

provider-native install command

概览

软件包摘要

Scalable distributed version control system

命令和别名

  • chg
  • hg

历史

项目历史与用法

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 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
chg可执行文件已索引可执行文件从本地可执行文件索引发现。
hg可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本7.2.3
管理器更新时间2026-06-29
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:mercurial
版本7.2.3
软件包管理器Homebrew
主页https://mercurial-scm.org/
最后更新2026-06-29T18:50:44Z
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation