try this:
svn co http://myhost/sandbox/test.bat@16
I'd love to try to explain it, but the book (http://svnbook.red-bean.com/en/1.4/svn.advanced.pegrevs.html
) will do a far better job than I can.
HTH!
/TOMMY
On Dec 18, 2007, at 7:59 AM, David Rush wrote:
> Hi. I'm relatively new to Subversion, but have managed to get 1.4.5
> up and running on Win32 with
> Apache 2.0. I can import, checkout, commit, update, and all that.
>
> While playing around with a test repository, I used svn delete to
> delete an entire directory tree in
> the repository (not in a working copy). Then I tried to recover it
> by checking out an older
> revision, but it doesn't work for me.
>
> Here's a capture of a simple test case:
>
> D:\tmp\foo4>svn import test.bat http://myhost/sandbox/test.bat -m
> "initial import"
> Adding test.bat
>
> Committed revision 16.
>
> D:\tmp\foo4>svn list http://myhost/sandbox
> Carbon/
> Fun/
> test.bat
>
> D:\tmp\foo4>svn delete http://myhost/sandbox/test.bat -m "begone!"
>
> Committed revision 17.
>
> D:\tmp\foo4>svn list http://myhost/sandbox
> Carbon/
> Fun/
>
> D:\tmp\foo4>svn list http://myhost/sandbox -r 16
> Carbon/
> Fun/
> test.bat
>
> D:\tmp\foo4>mkdir ..\foo5
>
> D:\tmp\foo4>cd ..\foo5
>
> D:\tmp\foo5>svn checkout -r 16 http://myhost/sandbox/test.bat
> svn: REPORT request failed on '/sandbox/!svn/bc/17/test.bat'
> svn: '/sandbox/!svn/bc/17/test.bat' path not found
>
> D:\tmp\foo5>svn cat -r 16 http://myhost/sandbox/test.bat
> svn: REPORT request failed on '/sandbox/!svn/bc/17/test.bat'
> svn: '/sandbox/!svn/bc/17/test.bat' path not found
>
> D:\tmp\foo5>svn list -r 16 http://myhost/sandbox
> Carbon/
> Fun/
> test.bat
>
> The "list" shows it still there in revision 16 as expected, but I
> can't seem to get it from r16.
> Subversion seems to be looking for it in r17 even when I've told it
> r16.
> Is there a way to recover the deleted file?
> What if it was a whole directory tree?
> Are deletes made directly to the repository permanent?
>
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 18 16:14:35 2007