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

Recover file from Subversion server

From: Silvio Sisto <sisto.silvio_at_gmail.com>
Date: Tue, 17 Jun 2008 03:00:03 -0300

Good evening,
I'm trying to recover a file from a Subversion server. The file's name is
The last revision is 6, in which the file was deleted.
When I list the contents of revision 5, the file appears to be there:

silvio_at_silvio-linux:~$ svn ls -r 5 file:///home/silvio/svn/proyecto/

Despite that when I try to list the file specifically I get the following
error (even though I specified I wanted revision 5):

silvio_at_silvio-linux:~$ svn ls -r 5
svn: File not found: revision 6, path '/proyecto/Documentacion.pdf'

When i try to copy it I get this error:

silvio_at_silvio-linux:~$ svn cp -r 5
file:///home/silvio/svn/proyecto/Documentacion.pdf Documentacion.pdf
svn: '.' is not a working copy
svn: Can't open file '.svn/entries': No such file or directory

Any help is greatly appreciated.
Thank you. Best regards,
Silvio Sisto
Received on 2008-06-17 08:00:35 CEST

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.