Mercurial 是一种分布式版本工具, 它的本地提交, patch功能,以及对branch的管理非常优雅.
在ubuntu安装mercurial只需要运行sudo apt-get install mercurial
在Mac上安装Mercurial不是1-Click install
* 下载 http://mercurial.berkwood.com/
* 双击安装.
cat > ~/.profile
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-s
* 打开hg view
hg clone http://selenic.com/hg hg-upstreamhg pullhg updatesudo cp hg-upstream/contrib/hgk /usr/local/bincat > ~/.hgrc输入 [extensions]hgk= [hgk]path=/usr/bin/hgk在 hg-upstream中运行 hg view, 应该可以看到hg view的UI