开发者

Eclipse PDT and Hg (Mercurial)

开发者 https://www.devze.com 2023-01-16 19:31 出处:网络
We\'d like to switch up from SVN to Git or Mercurial at work, and Mercurial we would like to investigate first.

We'd like to switch up from SVN to Git or Mercurial at work, and Mercurial we would like to investigate first.

I have installed Hg on my Windows machine and got the Eclipse plugin, but I don't get a perspective like I do for SVN inside of Eclipse PDT.

Does this not exist, or do I have the wrong flavor of Eclipse? I would like to see my repos in one window while I code in the other like I do with SVN.

Also, do the commands appear in the context menu (right click) u开发者_运维知识库nder Team? So far, I can't see that Mercurial is in my Eclipse PDT environment other than when I want to Import a project, I have a few Hg options.

Any Hg/Eclipse pros know if this is by-design or am I missing something?


You can follow this "DVCS part 3: team… options and first steps using EGit, HgEclipse" tutorial, from the Ekke's DVCS pages.
In this latter page, you will find many comment on HgEclipse views and menus.

EGit – and HgEclipse Views or Perspectives ?

If I’m exploring new things I always take a look if there are special Perspectives or Views provided.
In case of aVCS – Team Provider Plug-in from my experiences using CVS I expected that there would also be a Perspective for Git or Mercurial repositories.
But both Plug-ins don’t provide an own perspective.

Next step I take a look at the Views and found that HgEclipse provides some extra Views:

Eclipse PDT and Hg (Mercurial)


Most Mercurial tasks are performed using the context menu or via custom keyboard shortcuts (Preferences → General → Keys → type Mercurial in the search box)

MercurialEclipse also works nicely with the Team Synchronising perspective; especially for pushing/pulling to a remote server.

0

精彩评论

暂无评论...
验证码 换一张
取 消