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

Re: Help, how to restore files?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-09-20 13:01:55 CEST

On 9/20/2006 6:11 AM, Jorge ALvarez wrote:
> Hello
>
> By mistake I made a svn remove --force on public_html/images folder.
> The image folder had unverisioned images files and apparently they were
> deleted.
> How can I restore back those files with svn?

svn can't get the unversioned files back. Unless you have some other
backup of them, or some undelete utility, you're out of luck.

For the versioned files, do "svn status", and see if those deletes are
still scheduled to be committed. If so, then use "svn revert" to undo
the deletes. If the deletes were committed, then you do a reverse
merge; this is in the svn book.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 20 13:02:40 2006

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

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