问题描述
我已经在Eclipse中安装了用于Mercurial集成的HgEclipse插件。
我在Eclipse中有一个现有的(Java)项目,但我不知道如何打开这个现有项目的变更跟踪。
I've installed the HgEclipse plugin for Mercurial integration in Eclipse.I have an existing (Java) project in Eclipse, but I can't figure out how to turn on mercurial change tracking for this existing project.
似乎我可以导入一个mercurial项目(文件>导入> Mercurial>克隆...),但这只是新的Eclipse项目...
It seems I can do an import of a mercurial project (File > Import > Mercurial > Clone ...), but that's only for new Eclipse projects...
当然,我可以通过命令行应用Mercurial,例如
Of course, I can apply Mercurial via the command line, e.g. hg init
in the project directory, but this doesn't get picked up in Eclipse.
那么,怎么做?我打开Mercurial for 现有的 Eclipse项目?
So, how do I turn on Mercurial for existing Eclipse projects?
推荐答案
右键单击项目
go到团队 - >共享项目
选择Mercurial,然后浏览向导步骤。
Right click on projectgo to "Team" -> "Share Project"select "Mercurial" and go through the wizard steps.
这篇关于如何在现有Eclipse项目中启用Mercurial?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!