Removing an SVN location from Eclipse using Subclipse
Asked Answered
I

6

35

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

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.

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

Insistency answered 23/8, 2010 at 8:43 Comment(0)
E
56

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

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

Exeat answered 23/8, 2010 at 8:45 Comment(0)
W
11

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.

Hope this helps.

Windblown answered 23/8, 2010 at 8:51 Comment(1)
Note for the reader: A location can't be discarded if it is connected to a project.Susurrant
V
2

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

  1. So I closed out the project,
  2. went to the svn repository perspective,
  3. discarded the location,
  4. then I reopened the project.
Visakhapatnam answered 5/2, 2013 at 16:56 Comment(0)
K
2

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

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...

Kacerek answered 25/6, 2014 at 9:22 Comment(0)
R
0

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

Robynroc answered 8/4, 2011 at 11:19 Comment(1)
well it's good to know that config is there, the problem to remove svn repositories isn't solved with this answer. You just cannot delete repositories thereMikiso
H
0

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

Hairline answered 27/4, 2015 at 16:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.