[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Help: How to reattach Eclipse project to existing SVN work area?

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 29 Dec 2009 12:09:33 -0500

On Tue, Dec 29, 2009 at 11:47 AM, Robert La Ferla <omsrobert_at_gmail.com> wrote:
> My Eclipse workspace got corrupted (the Initializing java tooling bug) so I
> had to create a new one.  I already had a few projects attached to SVN
> w/subclipse and they were working fine.  However, when I created the new
> workspace and created new Java projects from the existing source, those
> projects lost their connection to the SVN repository.  I tried using "Share
> Project" but I got a dialog saying that "The project already exists in the
> repository and has some content."  I am afraid of corrupting the repository
> and/or workarea.  How do I reattach my source directory to the repository in
> Eclipse/subclipse?

This should have happened automatically if these came over as an SVN
project with the .svn metadata. I would usually have used File >
Import > Existing Projects into Workspace which would have just
pointed Eclipse at those existing checked out projects. It sounds
like you did something which created an invalid working copy.

Other option would be to checkout fresh. If you take the Share
Project option, it will basically do a checkout that does not overlay
the local files. But you will still be downloading all the content
and if your project is not a single contiguous working copy it might
still give odd results.

So I would delete the projects and try the Import option and if that
fails checkout again.

Mark Phippard
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-12-29 18:09:45 CET

This is an archived mail posted to the Subclipse Users mailing list.