Mercurial(HG) Windows+Eclipse安装、配置、使用

Mercurial(HG) Windows客户端安装

Mercurial(HG): http://mercurial.selenic.com/

Windows客户端下载:http://mercurial.selenic.com/downloads

Clone project form remote repository:

https://XXX/testRepo

wpsDF48.tmp[4]

image

wps281C.tmp

wps5D50.tmp

Eclipse插件安装:MercurialEclipse

MerucialEclipse 管网: https://bitbucket.org/mercurialeclipse/main/wiki/Home

插件安装地址: http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable

wpsA0C6.tmp

配置Mercurial Executable

wps173E.tmp

wpsA4BE.tmp

常用的hg命令

wpsFAF9.tmp

image

Built-in help

Mercurial provides a built-in help system. This is invaluable for those times when you find yourself stuck trying to remember how to run a command. If you are completely stuck, simply run hg help; it will print a brief list of commands, along with a description of what each does. 

If you ask for help on a specific command , it prints more detailed information.

Mercurial&Git vs SVN

wpsFB0A.tmp

Mercurial’s CLI is also quite similar to Subversion’s, which can help ease the transition between the two tools. Here’s a comparison of some of the most common commands. Mercurial/Git commands that are the same as their Subversion equivalents are bold.

HG的命令非常类似与SVN,相对于GIT,从SVN转到HG较容易。

image

http://stackoverflow.com/questions/35837/what-is-the-difference-between-mercurial-and-git

原文地址:https://www.cnblogs.com/ibalintha/p/3968185.html