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

Re: [Subclipse-users] Cannot restore removed subtree

From: Mark Phippard <mphippard_at_collab.net>
Date: Wed, 17 Dec 2008 16:45:14 -0500

On Wed, Dec 17, 2008 at 4:39 PM, <gunnarstrand_at_yahoo.com> wrote:
> Hi,
>
> I am fairly new to subclipse and subversion. I had a problem today where large parts of my checked out source tree was removed during synchronization, including .svn directories. As I clicked on the source files in the Navigator, the (now) non-existing files were removed from the Navigator as well, and the editor spawned "does not exist" messages. After going into the Synchronize view and committing changed, most elements were back on disk (including .svn directories aparently).

This sounds more like something outside of Eclipse deleted these items.

> All is back except one subtree which I am unable to get back into my workspace. Browsing the repository in Firefox shows this:
>
> Revision 37: /mythstar/trunk/mythstar/lib/perl
> * ..
> * IMDB/
> * Mythstar/
> * Mythstar.pm
>
> The "Mythstar.pm" file and "Mythstar" directories does not exist in my checked out source tree anymore.
>
> "Team->update" and "Team->synchronize" on "lib/perl" does not restore the files from the repository. If I create the directory and the file locally, then Subclipse does not recognize the elements as part of source control. If I try "Compare with->Latest from repository" on the local elements then I get:
>
> svn: URL 'http://lynx/svn/projects/mythstar/trunk/lib/perl/Mythstar' non-existent in revision '37'
> svn: URL 'http://lynx/svn/projects/mythstar/trunk/lib/perl/Mythstar.pm' non-existent in revision '37'
>
> But as you can see above, those elements does exist in revision 37.
>
> Does anyone have an idea on how to solve this problem? Do I need to recreate (recheckout) the source tree completely?

I'd probably checkout again. Something else you could try is to use
the Switch option at the project level and Switch to revision 36.
Then do Update on the project.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=986087
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2008-12-17 22:45:46 CET

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.