Thanks for the quick response. I couldn't find the revision where I
clobbered my project, using Tortoise. I went back as far as I remember to
mid-February when I created it, to no avail.
Luckily I still had the working folder intact with all its .svn subdirs...so
I ran svn import and recreated the project from scratch but I DON'T THINK I
preserved my history, or did I?
----Original Message Follows----
From: Mark Phippard <email@example.com>
To: "Res Pons" <firstname.lastname@example.org>
Subject: Re: Recovering a deleted project
Date: Mon, 13 Mar 2006 14:09:25 -0500
Received: from mail76.messagelabs.com ([184.108.40.206]) by
bay0-mc10-f6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 13
Mar 2006 11:09:28 -0800
Received: (qmail 28236 invoked from network); 13 Mar 2006 19:09:26 -0000
Received: from mail.softlanding.com (HELO dom01.softlanding.com)
(220.127.116.11) by server-9.tower-76.messagelabs.com with SMTP; 13 Mar 2006
X-StarScan-Version: 18.104.22.168; banners=softlanding.com,-,-
X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006
X-MIMETrack: Serialize by Router on dom01/SoftLanding Systems(Release
7.0|August 18, 2005) at 03/13/2006 02:09:26 PM,Serialize complete at
03/13/2006 02:09:26 PM
X-OriginalArrivalTime: 13 Mar 2006 19:09:28.0572 (UTC)
"Res Pons" <email@example.com> wrote on 03/13/2006 02:02:40 PM:
> I'm searching http://svn.haxx.se/users for "recovering dead files" and
> get are threads regarding recovering a dead repo using BerkeleyDB. I
> deleted a fairly recent project with not much history in it, thinking
> I'd import it from scratch but now regret it and would like to recover
> My FSF repo resides on a Linux server using WinXP with SVN-CLI and
> clients. Does anyone know the command for either client to recover my
> deleted project?
There are a couple of pretty easy ways to do it.
1) Use svn copy to copy your project as it existed prior to deleting it.
For example, suppose you deleted it in revision 100. Then:
svn copy -r 99 url://to/project url://to/project -m "Restore Project"
Would do it.
In TortoiseSVN use the repository browser and click on HEAD. Change to
the revision when project existed. Right-click and choose the Copy
2) Do a reverse merge. Again, assuming you did in revision 100 and you
have a WC connected to your repository root.
svn merge -r100:99 url://to/repos
This will undo the change.
In TortoiseSVN, if you have a WC connected to root, then right click and
do Show Log. Find the commit that did the delete and right click and take
the Undo changes from this revision option.
Review and commit in either case.
When it is an entire project, option #1 is easiest. When it is some
specific folders/files or even just some changes to those files, then
option #2 is easiest.
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM
Email Security Management Services powered by MessageLabs.
Express yourself instantly with MSN Messenger! Download today - it's FREE!
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Mar 13 21:21:05 2006