You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jorge ALvarez <jo...@kanetti.fi> on 2006/09/20 10:11:20 UTC

Help, how to restore files?

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?

Appreciate any help

Thanks
Jorge Alvarez

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

Re: Help, how to restore files?

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
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