This might be a repeated question from here (recreating svn repository), but I think I should ask this again.
I do not have a most recent back up of the repository but a month old backup. I have multiple working copies that are recent. Using the month old backup, trying update says that the revision does not exist as the repository is at a older rev.
What is the best option for me?
Do I start over creating a new repository? I lose all the svn history. But I would have to manually merge the two working copies. Can anyone please list the steps?
Or do I somehow use the month old backup recreate the svn repository. So that I have some history and lose history only for the last month. Not sure if this possible, but if it is please list the steps.
Any help is really appreciated. Thanks.
Best Answer
That's the approach I would recommend. You'll be left with a repository that has all of the old history, and a single big commit that has the sum of all changes that occurred in the last month.
svn mkdir
. If files have moved, move them withsvn mv
. In this step, you're essentially manually recreating the difference between your month-old backup, and your most recent working copy.svn diff
to double- and triple-check the giant commit.