[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: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 12 Aug 2008 09:26:06 -0400

You need to use PEGGED revisions. The problem is that your repository
no longer has the file ContextualTestCase.java in it in the most
recent revision, so it cannot pull up the file in order to find the
revision. Try this:

$ svn cp -r11371
svn+ssh://snett@...unavco.org/pbo/.../webapp/ContextualTestCase.java_at_11371
./ContextualTestCase.java

The "@11371" refers to the way the repository looked at a particular
revision, so it can find ContextualTestCase.java. Then, the "-r 11371"
tells Subversion what revision you want to copy.

--
David Weintraub
qazwart_at_gmail.com
On Mon, Aug 11, 2008 at 5:26 PM, Lee Snett <snett_at_unavco.org> 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
> Client - Mac OS X 1.5.1
> Thanks for any help.
> Lee
>
> ~/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
>
> Lee Snett
> PBO Sr. Software Engineer
> UNAVCO, Inc.
> 6350 Nautilus Drive
> Boulder, CO 80301
> w: 303 381-7577
> c: 303 601-6197
> snett_at_unavco.org
>
>
>
>
---------------------------------------------------------------------
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 15:26:33 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.