Eclipse – Associating existing Eclipse project with existing SVN repository

eclipsesubclipsesvn

I have an eclipse project on my hard disk, which is a fairly recent check out from an SVN repository. I've imported this project into my Eclipse workspace, and now want to associate it with the SVN repository.

How do I do this? The only options I seem to have under Right-click -> Team is "Share Project", which only seems to allow me to do an initial import.

Edit: Motivation – It's a largish repository, and I don't really want to have to import the whole thing over the network.

Edit 2: There are (for some reason) no .svn dirs in the project. So maybe a fresh import from svn is the only option

Best Answer

Team->Share project is exactly what you need to do. Select SVN from the list, then click "Next". Subclipse will notice the presence of .svn directories that will ask you to confirm that the information is correct, and associate the project with subclipse.