手順
1.公式サイトよりMac用Mercurialをダウンロードします。
http://mercurial.selenic.com/downloads
2. ダウンロードしたzipファイルを解凍し、pkgファイルをダブルクリックしてインストーラーを起動しインストールします。
3.ターミナルを起動し、ログインユーザーのユーザーディレクトリにMercurail用設定ファイル.hgrcを作成します。
touch ~/.hgrc
4.viエディタ等で.hgrcを開き、次を入力し保存します。
[ui] username = コミット時のユーザー名
5.ターミナルよりMercurialがインストールされているか確認します。
hg --version
結果
Mercurial Distributed SCM (version 3.0.1+20140606) (see http://mercurial.selenic.com for more information) Copyright (C) 2005-2014 Matt Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.