Total Pageviews

Saturday 16 April 2016

mac上,安装mercurial

yudeMacBook-Air:~ brite$ brew install mercurial
==> Downloading https://homebrew.bintray.com/bottles/mercurial-3.5.1.yosemite.bo
######################################################################## 100.0%
==> Pouring mercurial-3.5.1.yosemite.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions

Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/brite/Library/Python/2.7/lib/python/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/brite/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
🍺  /usr/local/Cellar/mercurial/3.5.1: 372 files, 5.2M
yudeMacBook-Air:~ brite$

克隆的命令是hg clone some_url
--------------------------

brew install git, 克隆的命令是git clone some_url
-----------------------------

brew install svn或brew install subversion, 克隆的命令是svn checkout some_url