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

Re: [Subclipse-users] recover deleted file

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-06-27 15:52:27 CEST

John Daues <jdaues@nmsu.edu> wrote on 06/27/2006 09:53:46 AM:

> I need to recover a file that I just deleted. It is the only action of
> the most recent revision. If I look in the SVN history, I see the
> something like this:
> *220 6/26/06 6:54pm joeuser Deleted myfile.java
> 219 6/26/06/3:01pm joeuser Changed myfile2.java
> 218 6/25/06/110:pm joeuser Changed myfile3.java
>
> According to the svn manual, I need to 'merge' to get the file back. In
> the merge dlg box, there is a 'from' and a 'to'. I'm not sure what to
> put in these, ie do I merge from Head to 220?
> from Head to 219? from 219 to Head? I've tried a dry run, but I don't
> see anything different.
>
> Also, What does the * next to the 220 mean?

The * means that is the current revision of your working copy. To recover
the deleted file, just right-click on a parent folder and do Team -> Show
History. Then right-click on the revision that did the delete (r220) and
take the option that says to Revert Change from Revision 220. This will
do the "reverse merge" that the book talks about.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Jun 27 15:52:41 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.