目录

Mercurial 下载

优质
小牛编辑
117浏览
2023-12-01
开发存储库
主要
Mercurial 维护人员Matt Mackall的主要开发存储库 可以在 https://www.mercurial-scm.org/repo/hg找到。
提交者
Mercurial核心贡献者的开发存储库可以在 https://www.mercurial-scm.org/repo/hg-committed/找到 。

有关完整列表,请参阅 Wiki上的开发人员存储库

要求
Python
Mercurial 使用 Python(版本2.7)。大多数可立即运行的Mercurial发行版包括Python或使用操作系统附带的Python。
旧版本
Python版本
有关版本支持的更多信息,请参阅 Wiki上 支持的Python版本
Python 2.6
Mercurial 4.2.3 是支持Python 2.6的最后一个版本。如果您需要在旧平台上运行Mercurial并且无法更新Python安装,请使用此版本。
Python 2.5
Mercurial 3.4.2 是支持Python 2.5的最后一个版本。如果您需要在非常旧的平台上运行Mercurial并且无法更新Python安装,请使用此版本。
Python 2.4
Mercurial 3.4.2 是支持Python 2.4的最后一个版本。如果您需要在非常旧的平台上运行Mercurial并且无法更新Python安装,请使用此版本。
Python 2.3
Mercurial 1.2.1 是支持Python 2.3的最后一个版本。如果您需要在非常旧的平台上运行Mercurial并且无法更新Python安装,请使用此版本。
较旧的源码版本
所有早期源码版本都可以直接下载。

快速开始

Mercurial是用Python编写的,考虑到跨平台性。因此,Mercurial可用于 Microsoft Windows,GNU / Linux,Mac OS X,Solaris 11 Express等。你可以下载二进制安装包,也可以从源代码安装。

Windows用户可以使用TortoiseHg GUI。它将Mercurial直接集成到资源管理器中。

常见Linux,BSD和Solaris发行版自带的软件包安装:

(Ubuntu:如果从apt-get安装的版本太旧,你还可以尝试PPA安装。)

# Debian/Ubuntu
$ apt-get install mercurial

# Fedora
$ dnf install mercurial

# Gentoo
$ emerge mercurial

# Mac OS (homebrew)
$ brew install mercurial

# FreeBSD
$ cd /usr/ports/devel/mercurial
$ make install

# Solaris 11 Express
$ pkg install SUNWmercurial