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

Undo folder delete

From: Brian Erickson <erickson_at_BAUERCONTROLS.com>
Date: 2007-10-01 16:01:18 CEST

Hi all,

We had a medium sized disaster here last Friday and I'm wondering if
there was a better way to recover from it...

Our source tree has two folders in it \vme and \pcs. One of our users
accidentally deleted the \pcs folder. He doesn't remember doing an svn
delete but I'll just take it on faith that he did. However, I couldn't
think of a graceful way to recover. Here's what I did:

Checkout revision 190 into d:\head
Checkout revision 189 into d:\lastgood
Removed all .svn folders from 'd:\lastgood\pcs' tree
Xcopy /sdki d:\lastgood\pcs d:\head\pcs
In d:\head folder: svn add pcs
In d:\head folder svn commit
Now revision 189 and 191 match so things seem to be okay.

Was there a better way?

Thanks,
Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 1 16:01:41 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.