序. 之前的写的太简了,今天有空补充一下哈
二、安装HG
三、检测是否安装成功
一、必须安装docutils
# wget http://prdownloads.sourceforge.net/docutils/docutils-0.7.tar.gz?download
# tar -zxf docutils-0.7.tar.gz
# cd docutils-0.7
# python setup.py install
二、安装HG
#. cd /var/local/
#. wget http://mercurial.selenic.com/release/mercurial-3.0.tar.gz
#. tar xvzf mercurial-3.0.tar.gz
#. mv mercurial-3.0 mercurial
#. cd mercurial
#. make all
#. make install
三、检测是否安装成功
#hg
显示以下信息表示安装成功
Mercurial Distributed SCM
basic commands:
add add the specified files on the next commit
annotate show changeset information by line for each file
clone make a copy of an existing repository
commit commit the specified files or all outstanding changes
diff diff repository (or selected files)
export dump the header and diffs for one or more changesets
forget forget the specified files on the next commit
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specifi