On 7/16/07, Řyvind Harboe <email@example.com> wrote:
> On 7/16/07, Mark Phippard <firstname.lastname@example.org> wrote:
> > On 7/16/07, Řyvind Harboe <email@example.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
Yes, if you expected to have some differences in the local version of
your files (and you wanted those differences) then this is exactly
what you should do. Checkout using Subclipse and then copy the old
files back over the ones you checked out.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Jul 16 15:56:26 2007