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

RE: restore repository - repository version?

From: Wadsworth, Eric (Contractor) <wadswore_at_fhu.disa.mil>
Date: 2003-08-13 23:14:19 CEST

> > Question: My box has a bad day, and my subversion
> repository dies. I restore
> > from a backup of a couple of days ago (version 220). But a
> bunch of working
> > copies are at 229. Now nobody can do anything, because all
> the working
> > copies are out of sync with the newly restored (older)
> repository. What do I
> > do?
>
> Have everyone do this:
>
> $ cd working_copy
> $ svn diff > ~/my-changes
> $ cd ..
> $ mv working_copy working_copy.busted
> $ svn co http://repos_url working_copy
> $ cd working_copy
> $ patch -p0 < ~/my-changes

What a neat little trick!

I don't suppose you know one that will work on Windown 2000 boxen...? (I'm
the only one using UNIX on this project.)

--- Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 13 23:15:17 2003

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.