On 8/16/06, Cory Myers <cory@corymyers.com> wrote:
> Hi,
>
> I have one project---`/var/repo/proj/dejgen/`---which I accidentally
> deleted from both the repository (`svn rm /var/repo/proj/dejgen/`)
> *and* the working copy (`rm -rf ./dejgen/`) simultaneously. The `svn
> rm` commit was revision 13 in this particular Subversion repository;
> the original files for this project were imported at around revision
> 10. When I try to run `svn co /var/repo/proj/dejgen/@12 .` to get
> revision 12, the one just prior to my accidental `svn rm`, I receive
> the following error message:
>
> > svn: File not found: revision 13, path '/dejgen'
>
> My understanding of Subversion is that even `svn rm` should allow the
> project to be checked out from an earlier revision, and I'm eager to
> recover what I accidentally deleted. Any suggestions or
> clarifications ye could offer would be greatly appreciated.
Due to the strangeness of peg revisions, you need both -r 12 and
http://url/blah@12 on that checkout.
What you probably want though is to just copy from the previous
revision, something like what's described here:
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.resurrect
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 16 22:25:15 2006