在ubuntu安装mercurial只需要运行sudo apt-get install mercurial
在Mac上安装Mercurial不是1-Click install
* 下载 http://mercurial.berkwood.com/
* 双击安装.
cat > ~/.profile* 打开hg view
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-s
hg clone http://selenic.com/hg hg-upstream
hg pull
hg update
sudo cp hg-upstream/contrib/hgk /usr/local/bin
cat > ~/.hgrc输入在 hg-upstream中运行 hg view, 应该可以看到hg view的UI
[extensions]
hgk=
[hgk]
path=/usr/bin/hgk