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

Re: Revision syntax for recovering deleted folder

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-12-12 09:38:54 CET

Kenneth Porter <shiva@sewingwitch.com> writes:
> I accidentally deleted one too many folders while cleaning out my
> branches folder. When attempting to recover it, I found this resource:
>
> <http://blogs.open.collab.net/svn/2007/07/second-chances-.html>
>
> The suggested syntax to recover the folder is:
>
> svn copy -r2980 http://subclipse.tigris.org/svn/subclipse/branches@2980 \
> http://subclipse.tigris.org/svn/subclipse/branches
>
> When I attempted the analogous syntax with 1.4.4 under XP Pro, I got:
>
> svn copy -r1309
> https://svn.example.com/repos/project/branches/AxisLockSet/@1309
> https://svn.example.com/repos/project/branches/AxisLockSet -m "Recover
> AxisLockSet branch."
> svn: Path
> https://svn.example.com/repos/project/branches/AxisLockSet/@1309' does
> not exist in revision 1309
>
> (I tried both with and without the trailing slash on AxisLockSet,
> before the peg revision.)
>
> What did work was to check out non-recursive the parent (branches)
> directory, then svn copy into that WC:
>
> svn copy -r1309
> https://svn.example.com/repos/project/branches/AxisLockSet AxisLockSet
>
> So what was I doing wrong with the repo-to-repo copy?

Could you describe in English what you were trying to do, and then
we'll take a look at your commands and see how they match up?

(It's suspicious that you have "-r1309" and "@1309" in one command --
that shouldn't be necessary.)

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 12 09:39:18 2007

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.