menu
書いてる野郎
orebike@gmail.com
Mercurial(Hg)をLionにインストールしてみた。
なんだかインストールはPythonのeasy_installを使ってやる方法がいいっぽいのでそれでやる。
最近Pから始まるツールがいろいろ出てるけどPythonにもあったみたいpipっていうbetter easy_install的なツール。
まずこいつを突っ込む
sudo easy_install pip
ということで完了
$ pip --version pip 1.0.2 from /Library/Python/2.7/site-packages/pip-1.0.2-py2.7.egg (python 2.7)
さっきのpipを使ってMercurialをインストールする
$ sudo pip install Mercurial
完了
$ hg --version Mercurial Distributed SCM (version 2.1) (see http://mercurial.selenic.com for more information) Copyright (C) 2005-2012 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.
うむ
ホームディレクトリの
.hgrc
に↓のようにセット
[ui] username = hoge <hoge@hoge.com> editor = /usr/bin/vi