views:

285

answers:

2

Hi All,

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.

Thanks

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

+1  A: 

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, ask you to confirm that the information is correct, and associate the project with subclipse.

amarillion
yeah the trouble is I don't seem to have any .svn dirs
Richard
Ah yes, in that case there is nothing for subclipse to work with. A fresh import is the only option.
amarillion
A: 

In case of SVN servers you have to creating a central repository with all projects. The contents of the repository can be uploaded with the Team/Share command; in case of the Subversive client it automatically runs a commit after the import, so you can upload your files.

This step cannot be circumvented in any way using a centralized version management system such as SVN.

Zoltán Ujhelyi