LoginSignup
1
1

More than 5 years have passed since last update.

SourceTree に Homebrew でインストールした Mercurial (Hg) を使わせる

Last updated at Posted at 2019-04-12

問題設定

SourceTree は内部に Mercurial (Hg) クライアントを持っているが,バージョンが古い場合がある.そこで,外部の Mercurial (Hg) コマンドを使うように設定したい.

用意するもの

  • Mac
  • SourceTree
  • Homebrew

手順

SourceTree, Homebrew はすでにインストールされているものとする.

最新版の Mercurial (Hg) をインストールする

$ brew update
$ brew install mercurial

SourceTree の設定を変更する

SourceTree の Preference を開いて,Mercurial タブを開き "Use System Mercurial" ボタンを押す.

Screen Shot 2019-04-12 at 21.39.56.png

/usr/local/Cellar/mercurial/4.9.1/lib/python2.7/site-packages/mercurial フォルダを指定する.(バージョン番号はインストールされた Mercurial による.)

(完了)

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1