tags:

views:

34

answers:

1

i did not make a back up of a project and SVN Merged it using Tortoise with another project. It was not checked into SVN so there was no version to revert back to. Is there any way of recovering that project back?

+1  A: 

If your unsaved project was X and the project you merged (+) it with was Y then you are left with X+Y=XY. Therefore a diff (-) between XY and Y should be your original XY-Y=X.

Try this:

  • Backup your working copy
  • Commit it to branch X
  • Switch to project Y
  • Merge two different trees from Y to X
  • If you now generate a diff/patch of your working copy it should be what you want.

I am a bit of a cowboy with SVN so there is probably a much better way to do this. Also this is untested and off the top of my head, so the first step (make backup) is really important.

0xC0DEFACE