Java 使用 Subclipse 从 Eclipse 中删除 SVN 位置

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3545926/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-14 01:44:44  来源:igfitidea点击:

Removing an SVN location from Eclipse using Subclipse

javaeclipsesvnsubclipse

提问by david99world

I have added locations into Eclipse so I can, say, create projects from SVN locations.

我已将位置添加到 Eclipse 中,因此我可以从 SVN 位置创建项目。

I am no longer using one of the SVN locations, but it still comes up in the list that appears when I go to Team > Create project from SVN location.

我不再使用 SVN 位置之一,但它仍然出现在我转到Team > Create project from SVN location时出现的列表中。

How can I remove this SVN location from the list, using Subclipse?

如何使用 Subclipse 从列表中删除此 SVN 位置?

采纳答案by Sean Patrick Floyd

Window -> show view -> Other... -> SVN repositories

窗口 -> 显示视图 -> 其他... -> SVN 存储库

lists the available repositories and lets you delete the one you don't want any more.

列出可用的存储库并让您删除不再需要的存储库。

回答by YoK

Follow these steps:

按着这些次序:

  • Goto "SVN Repositories Exploring" perspective.
  • You will get "SVN repositories" view.
  • "SVN repositories" view shows list of locations.
  • You can right click on location and select "Discard Location" menu.
  • 转到“SVN 存储库探索”视角。
  • 您将获得“SVN 存储库”视图。
  • “SVN 存储库”视图显示位置列表。
  • 您可以右键单击位置并选择“放弃位置”菜单。

Hope this helps.

希望这可以帮助。

回答by Thomas Mathew

If are you looking for how to remove/clear the unused Urls from the "Add SVN Repository" dialog, the way "under the hood" is to edit/delete the file located under <Eclipse Workspace Location>\.metadata\.plugins\org.tigris.subversion.subclipse.ui\dialog_settings.xml

如果您正在寻找如何从“添加 SVN 存储库”对话框中删除/清除未使用的 URL,“幕后”的方法是编辑/删除位于 <Eclipse Workspace Location>\.metadata\.plugins\org.tigris.subversion.subclipse.ui\dialog_settings.xml

回答by James Drinkard

I had to disconnect the local project first, before I was able to discard the svn location using Spring Tool Suite 2.9.2.

我必须先断开本地项目,然后才能使用 Spring Tool Suite 2.9.2 丢弃 svn 位置。

  1. So I closed out the project,
  2. went to the svn repository perspective,
  3. discarded the location,
  4. then I reopened the project.
  1. 所以我关闭了这个项目,
  2. 转到 svn 存储库透视图,
  3. 放弃了位置,
  4. 然后我重新打开了这个项目。

回答by k-messaoudi

Open your SVN repository exploring, then right click on the location that you want to remove and click Discard Location

打开您的SVN 存储库探索,然后右键单击要删除的位置并单击放弃位置

NB.before doing that, disconnect all projects that are connected to this repository location.
To disconnect a project from SVN repository follow this:

Right click on the connected project -> Team-> Disconnect...

注意。在此之前,断开连接到此存储库位置的所有项目。
要将项目与 SVN 存储库断开连接,请执行以下操作:

右键单击已连接的项目 ->团队->断开连接...

回答by moisty70

Be careful not to deleting the project when removing a repository location, the plugin developers where not smart enough to advidce clearly that the project is delected

删除存储库位置时注意不要删除项目,插件开发人员不够聪明,无法明确建议项目已被选中