On 7/16/07, Mark Phippard <markphip@gmail.com> wrote:
> On 7/16/07, Øyvind Harboe <oyvind.harboe@zylin.com> wrote:
> > In switching from CVS to Subversion, I can no longer find a way to
> > attach an existing Eclipse project to an existing Subclipse folder.
> >
> > The "Share Project" requester says "The folder indicated by the URL
> > cannot already exist", see attached picture.
>
> Correct, we do not support attaching a local project with one in the
> repository. The underlying Subversion API's do not support it. You
> have to checkout the project from the repository.
>
> Subversion 1.5 (not released yet) has enhanced their checkout command
> in a way that we could change this restriction. We would still have
> to do a full checkout, pulling down all of the content from the
> repository and over the network, but Subversion would "slide" the
> checkout underneath your existing files. If there were differences,
> they would show as outgoing changes. So it would be a small win to
> add this and we likely will.
I've deviced the following workaround. Alas I wiped my local files in
experimenting w/Subclipse(no great harm done this time which is why I
didn't take great care), so I haven't tested procedure properly yet:
- make a *copy* of the old Eclipse project
- delete Eclipse project
- check out existing project from Subversion
- copy all files from old Eclipse project to freshly checked out project.
- compare the two projects and delete the files that where deleted
from the existing Eclipse project but still existed under Subversion
--
Øyvind Harboe
http://www.zylin.com - eCos ARM & FPGA developer kit
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Jul 16 15:54:06 2007