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

Re: Recover file from Subversion server

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Tue, 17 Jun 2008 22:07:17 -0700

Lorenz wrote:
> Silvio Sisto wrote:
>> I'm trying to recover a file from a Subversion server. The file's name is
>> Documentacion.pdf.
>> 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:
>>
>> Despite that when I try to list the file specifically I get the following
>> error (even though I specified I wanted revision 5):
>
> you need to specify a peg revision as the file no longer exists in
> HEAD. See:
>
> http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html

Note that peg revisions for copy are not supported in 1.4, but will be
in 1.5.

Also, if you want to simply get a copy of the file, but not create a new
versioned copy, you want the export subcommand. Something like:
svn export file:///home/silvio/svn/proyecto/Documentacion.pdf_at_5 \
Documentacion.pdf

export does support peg revisions in 1.4.

-Hyrum

Received on 2008-06-18 07:07:45 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.