[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: <cmpilato_at_collab.net>
Date: 2003-08-13 23:16:49 CEST

"Wadsworth, Eric (Contractor)" <wadswore@fhu.disa.mil> writes:

> > > 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.)

Why won't this work? I use 'patch' all the time on Windows 2000. So
let me repeat for Windows users:

   (go get patch.exe)
   $ cd working_copy
   $ svn diff > ~/my-changes
   $ cd ..
   $ move working_copy working_copy.busted
   $ svn co http://repos_url working_copy
   $ cd working_copy
   $ patch -p0 < ~/my-changes

---------------------------------------------------------------------
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:19:32 2003

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