The company I work in has suffered a major server failure. During this failure the SVN Repository was lost. But there is still hope ! We have an old backup of the repository which I've managed to successfully restore using VisualSVN.
The problem I'm facing now is that I can't update / commit pre-failure checkedout folders. The reason for this problem is that for instance: a local folder has a revision number of 2361, while the repository itself holds a revision number of 2290, which is older.
Is there a way to deal with this issue ? Can I some how change the revision numbers on either the local copy or the server copy?
A few points:
Thank you for your time,
Ita
You'll need to checkout your project into a new working copy, then use whatever tools that you have to move the changes into the new working copy.
You simply can't turn back the revision number. Your current working copy potentially contains changes that aren't in the older backup of the repository, and the working copy doesn't treat them as 'different from the repository'.
As your repository was lost, so was any chance of reconciling your current working copy.
Checkout the newest revision of the restored backup into a working copy. do an svn export of and old working copy and simply copy all files/folders onto the previously checkout working copy. Than do an svn add if needed and commit. This should summ all changes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With