Re: Working copy 'from the future' after restoring server from old backup (was "Huge Problem")
From: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Sun, 6 Jun 2010 22:30:17 +0200
On Sun, Jun 6, 2010 at 21:43, Abius X <abiusx_at_gmail.com> wrote:
Does your working copy include branches?
But, you are on OS X, which helps things a bit. It's past my bedtime,
0. make a backup copy of your old working copy before continuing
cp -R project-old project-old.backup
1. check out a working copy from your restored repository. I'm going
svn co http://svn.example.com/repo/project project-new
2. if there are branches (or tags) in project-old that don't exist in
svn copy project-new/trunk project-new/branches/some-branch-name
3. check that stuff in. you'll at least have the right branches, even
svn commit -m "restored missing branches (with wrong content)" project-new
4. incorporate the changes from your old working copy into the new working copy.
rsync -r --del -c --exclude=.svn project-old/ project-new
## the trailing slash in "project-old/" is significant!
5. svn status may reveal missing (!) files or unknown (?) files.
We need to tell svn that the missing ones are deleted and the unknown
cd project-new
6. examine the results with svn status and svn diff.
// Ben
|
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.