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

[Fwd: Re: Recovery of a lost repository]

From: David Darj <zid_at_alagazam.net>
Date: Tue, 30 Jun 2009 22:52:02 +0200

Point 3 below is maybe easiest done with the 'svn export' command using
the --force option like this:

svn export MyRepo2 MyNewRepo --force

/David

Neil Aggarwal wrote:
> 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
>
> --
> 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.
>
> Thanks,
>
> Jeffrey Haskovec
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2366837

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-30 22:52:52 CEST

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.