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 21:35:19 +0200
(I'm sending this Cc back to the list, since others may have input too.)
On Sun, Jun 6, 2010 at 19:36, Abius X <abiusx_at_gmail.com> wrote:
You'll need to check out new working copies in order to be able to
First I need to define a few terms. I'm going to assume you're on
C:\project-old
C:\project-new
http://svn.example.com/repo/project/trunk
0. Make a backup copy of C:\project-old (You can never be too paranoid)
1. 'Export' a copy of C:\project-old. This will give you a copy free of the
svn export C:\project-old C:\project-old.export
2. Check out a new working copy of http://svn.example.com/repo/project/trunk
svn co http://svn.example.com/repo/project/trunk C:\project-new
3. Copy the contents of C:\project-old.export with C:\project-new
There are various ways to do this. I would just use the Widows file manager
4. Use svn status to see the local changes in C:\project-new. Convince yourself
svn status C:\project-new
also helpful:
svn diff C:\project-new
5. Think up a good commit comment to summarize the last 3 weeks (!) worth of
6. Check in your local changes using your hopefully thoughtful commit message
svn commit -F C:\BACKUPS_SHOULD_BE_AUTOMATED.txt C:\project-new
As solutions go, this isn't beautiful and doesn't cover all cases (see my
Once you are happy with the results, you can throw away C:\project-old.
// 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.