meicurial (hg)安装配置

本文介绍了Mercurial(hg)的安装过程,并详细讲解了如何配置,特别关注了hg log命令的使用。
摘要由CSDN通过智能技术生成
序. 之前的写的太简了,今天有空补充一下哈

一、必须安装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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值