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

RE: Support for undelete from history?

From: eeaston.com <evan_at_eeaston.com>
Date: 2003-07-01 18:49:52 CEST

> -----Original Message-----
> From: sussman@collab.net [mailto:sussman@collab.net]
> ...
> But for the record, the simplest way to "restore" a deleted object is
> to just use 'svn cp -r oldrev URL wc'. This sucks down the deleted
> item into the working copy and schedules it for addition-with-history.

Except won't this restore the entire contents of the parent's old revision
rather just undoing the element deletion?

BTW, I swear I tried this already...so I tried it again. If I run this
command on the parent dir using dav, I get the following:
  
  ...\eeaston> svn cp -r 217
http://localhost:81/migratedrepo/trunk/casetracker/src/com/eeaston/util .
  svn: Obstructed update
  svn: `util' is in the way

And if I run it on the deleted directory itself using dav, I get the
following:

   ...\eeaston>cd util
   ...\util>svn cp -r 217
http://localhost:81/migratedrepo/trunk/casetracker/src/com/eeaston/util/xml
xml
   svn: RA layer request failed
   svn: PROPFIND request failed on
'http://localhost:81/migratedrepo/trunk/casetracker/src/com/eeaston/util/xml
'
   svn: PROPFIND of
'http://localhost:81/migratedrepo/trunk/casetracker/src/com/eeaston/util/xml
': 404 Not Found (http://localhost:81)

It turns out that doing the reverse merge with file: URLs works. This is a
pretty rare scenario, so I think I can get by doing this for the time being.
Evan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 1 18:56:43 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.