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

Re: Cannot retrieve deleted file from revision

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Tue, 12 Aug 2008 01:38:59 -0500

On Aug 11, 2008, at 16:26, Lee Snett wrote:

> Can someone explain the "file not found" situation here. The file
> ContextualTestCase.java was deleted inadvertently in rev. 11372.
> Following the documentation for resurrecting deleted files I tried
> to copy revision 11371 but obtained the file not found error. The
> sequence of commands below show that the repository knows of the
> file in rev. 11371 but if referred to explicitly it generates the
> error.
>
> Subversion 1.3.2

You should update to the latest, Subversion 1.5.1.

> Client - Mac OS X 1.5.1

I assume you mean Mac OS X 10.5.1? If so you should update to the
latest, Mac OS X 10.5.4.

> ~/dev/mdm_clean/test/web/org/unavco/pbo/mdm/webapp $ svn list -r 11372
> ContextualTestCaseTwo.java
> action/
> filter/
> flows/
> listener/
> service/
> servlet/
> util/
> ~/dev/mdm_clean/test/web/org/unavco/pbo/mdm/webapp $ svn list -r 11371
> ContextualTestCase.java
> ContextualTestCaseTwo.java
> action/
> filter/
> flows/
> listener/
> service/
> servlet/
> util/
> ~/dev/mdm_clean/test/web/org/unavco/pbo/mdm/webapp $ svn info
> Path: .
> URL: svn+ssh://snett@subversion.pbo.unavco.org/pbo/src/svn/pbo/mdm/
> trunk/test/web/org/unavco/pbo/mdm/webapp
> Repository Root: svn+ssh://snett@subversion.pbo.unavco.org/pbo/src/
> svn/pbo
> Repository UUID: d8388fac-dce1-0310-8c67-df29725c549b
> Revision: 11373
> Node Kind: directory
> Schedule: normal
> Last Changed Author: snett
> Last Changed Rev: 11372
> Last Changed Date: 2008-08-11 13:11:57 -0600 (Mon, 11 Aug 2008)
>
> ~/dev/mdm_clean/test/web/org/unavco/pbo/mdm/webapp $ svn copy -r
> 11371 svn+ssh://snett@subversion.pbo.unavco.org/pbo/src/svn/pbo/
> mdm/trunk/test/web/org/unavco/pbo/mdm/webapp/
> ContextualTestCase.java ./ContextualTestCase.java
> svn: File not found: revision 11373, path '/mdm/trunk/test/web/org/
> unavco/pbo/mdm/webapp/ContextualTestCase.java'
> ~/dev/mdm_clean/test/web/org/unavco/pbo/mdm/webapp $ svn list -r
> 11371 svn+ssh://snett@subversion.pbo.unavco.org/pbo/src/svn/pbo/
> mdm/trunk/test/web/org/unavco/pbo/mdm/webapp/ContextualTestCase.java
> svn: File not found: revision 11373, path '/mdm/trunk/test/web/org/
> unavco/pbo/mdm/webapp/ContextualTestCase.java'
> ~/dev/mdm_clean/test/web/org/unavco/pbo/mdm/webapp $ svn list -r
> 11371 svn+ssh://snett@subversion.pbo.unavco.org/pbo/src/svn/pbo/
> mdm/trunk/test/web/org/unavco/pbo/mdm/webapp/
> ContextualTestCaseTwo.java
> ContextualTestCaseTwo.java

You need to use peg revisions, not operative revisions. See this part
of the book:

http://svnbook.red-bean.com/en/1.4/svn.advanced.pegrevs.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-12 08:39:48 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.