公司的cvs 在美国,有时不是很方便,自己弄了个cvs server,用当然用最怪的东西了!
mercurial:a fast, lightweight Source Control Management system designed
for efficient handling of very large distributed projects.
安装篇
1,得到mercurial
http://www.selenic.com/mercurial/release/mercurial-0.9.tar.gz
Mercurial itself and all wiki content are available under the
GUN GPL!
现在的自由软件真好^_^
2.uppacking the source
$ tar xvzf mercurial-.tar.gz
$ cd mercurial-
3,installation
安装前确信你已经安装了python和
python-dev,对debian来说,装什么都很方便.--没的话,apt-get 一下
$ python setup.py install --home=~ //为你的安装目录
$ export PYTHONPATH=${HOME}/lib/python # bash syntax, ymmv
$ export PATH=${HOME}/bin:$PATH # add these to your .bashrc
4.Testing a new install
And finally:
$
hg
# test installation, show help
使用篇
-----未完-----
The
Mercurial program is named
hg. Every
Mercurial command starts with
hg, followed by the command name, followed by any relevant options and arguments.
To determine what version of Mercurial we are running, let's type:
$ hg version
Mercurial Distributed SCM (version 0.9)
Copyright (C) 2005 Matt Mackall
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
阅读(3961) | 评论(1) | 转发(0) |