分布式的版本控制系统Mercurial

  一. 介绍

  Mercuial与传统的版本控制系统最大不同在于使用分布式的管理。所谓分布式,就是指没有一个所谓的集中的中心(central)库,这个库一般由svn server(svn),vss administrator(vss)控制,而Mercuial没有这样一个库,在本地建库,直接就使用,任何一个库都可以作为中心库。每个库都看成是平等的。

  二. 好处

  分布式最大的好处就是离线工作,这就意味着不联网就可以享受版本控制的好处,普通的提交速度也会快很多,以前集中式的版本控制系统,每次提交都会影响到其他人,以至于不能提交未经测试的版本;而使用分布式的版本控制系统时,你可以随便提交,安全地保护自己的成果,预防意外,也可以随便在本地clone和分支,哈哈,这样不会像其他的控制系统一样造成混乱,mercurial本地就是一个完整的版本控制系统。直到修正到最终版本后才push(相当于集中式版本控制的commit)到真正的一个公用库上去。

  如果想要将自己的工作成果share出去的时候,只用一条普通的push命令,就像远方的服务器一直搭建好了一样。

  三。安装

  安装,官方有说明的,我在这里copy过来,

How can I download the plugin? (在eclipse安装插件)
eclipse_ready.jpg?object_comment_id=274&history=false&notification=false
You can get the plugin easily using the Eclipse Update Manager, just click HelpSoftware Updates in Eclipse. The Eclipse Update Site for MercurialEclipse is available at this URL:

http://cbes.javaforge.com/update(输入这个地址)

If you are not familiar with getting new software and updates to Eclipse, please read this articleout.png.

Important note for users of previous HgEclipse versions: if you have HgEclipse already installed on your Eclipse, please explicitely uninstall HgEclipse before installing MercurialEclipse 1.6.0. (This is necessary due to the plugin naming changes.) It's easy: in Eclipse, click (按照这个步骤来)HelpAboutInstallation Details → select HgEclipse → click Uninstall and confirm everything. Now you can install MercurialEclipse 1.6.0.

If you have trouble using the update site then you can download the plugin jars and install manually from here: plugin directoryout.png


How can I get the source source code? (获取源代码)

Read here more about checking out source code from a JavaForge repository and see this pageout.png for the clone URL. If you are already registered and are in a hurry, then run this Mercurial command and login with your JavaForge username and password:

hg clone(输入这个地址) http://javaforge.com/hg/hgeclipse

转载于:https://www.cnblogs.com/azai/archive/2010/06/29/1767379.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值