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

Revision syntax for recovering deleted folder

From: Kenneth Porter <shiva_at_sewingwitch.com>
Date: 2007-12-12 02:51:07 CET

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 12 02:51:40 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.