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

RE: Recovery of a lost repository

From: Neil Aggarwal <neil_at_JAMMConsulting.com>
Date: Mon, 29 Jun 2009 23:59:33 -0500

I have done this before:
1. Rename the working copy on your laptop to
    something else, like MyRepo2.
2. Checkout version 3773 from your server.
3. Copy all the files from your MyRepo2
    over the checked out repo. Do not copy
    the .svn directories or their contents.
4. Do a commit from your laptop.
Your new changes will all be labeled version 3774,
but your changes should look like a bunch of
file mods in your working copy.

Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
100% uptime for your e-commerce site! Stay fully operational
even with a db server failure.  Ask me about the GRed database. 
From: JEFFREY HASKOVEC [mailto:haskovez_at_sbcglobal.net] 
Sent: Monday, June 29, 2009 9:42 PM
To: users_at_subversion.tigris.org
Subject: Recovery of a lost repository
We have had an issue that I Am looking for some advice with.  Our drive with
our repository on it died today.  Our backup is a week out of date.  I
restored from our backup which is revision 3773.  The good news is I have
the latest version of the source code on my laptop so we have all of our
data, the version on my laptop is 3822.  My question is how do I go about
getting the version on my laptop into the repository.  Is there a way to
create a patch and bring it up to the lastest.  I am ok with losing the
history for the last week it would just be nice to be able to continue on
from the back and the current rather than just importing my code and losing
all the history.  I tried doing a Check for Modifications through Tortoise
and it said revision 3822 doesn't exist.  I would appreciate any advice that
people could give.
Jeffrey Haskovec
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-30 07:00:47 CEST

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