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

Re: [Subclipse-users] Importing SVN stored projects

From: Peter Kennard <peterk_at_livingwork.com>
Date: 2006-11-07 16:50:02 CET

At 10:28 11/7/2006, you wrote:
>Peter Kennard <peterk@livingwork.com> wrote on 11/07/2006 10:20:13 AM:
>
> > - It apparently isn't checking for and pre-scanning the contents of
> > the ".project" file in the directory and asks which wizard you want
> > it to use to "scan the contents", even though there is a .project
> > file in the directory which you are checking out. This creates fear
> > where one worrys that it might overwrite the existing project file
> > and lose settings. (is there any chance of this?)
>
>I might not be understanding your question, but let me try.

SActually just a report of what happened.

>If you checkout an existing project and there is a .project file found,
>then it will scan it and check it out as the same kind of project. You
>only get the new project wizard if there is no .project file in the
>location you selected.

I think I refined it a bit it has to do with the order of
operations. If you hit "finish" it will pop up the wizard, if you
hit "next" it will not. if so this is a rather obscure feature.

>One thing you cannot do in SVN is checkout into an existing project in
>your workspace. Just mentioning that in case that is where you were
>headed with this. If you try to do that, it will delete any local files
>that also have a file in the repository.

Yes this is what CVS module does. However I just tried this, and
something just hangs when it is trying to read the repository paths
available before it gets to asking you if you want to delete it. So
I deleted the diretory manually to see what happens. (no editor
windows were open)

In general I think eclipse caches way too much information about what
is there crom CVS or .subversion and it too easily gets out of sync
with the state of things. In my current case an eclipse project is
part of a much larger working space and build that contains MSDEV
projects makefiles, code generators etc. So there is always a chance
that a outside commit will traverse the eclipse tree.

>Mark
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
>For additional commands, e-mail: users-help@subclipse.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Nov 7 16:50:22 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.