Hello,

The below procedure describes how to “undo” the last commit to an svn
repository (fsfs backend) in an extreme case: (Please test it
thoroughly on a “test” repo in your environment before actually
applying it)
Assuming the bad revision number is $BAD_REV
1.      Stop the visual svn server.
2.      Backup all your repos (to save from an unfortunate scenario, if it
happens)
3.      Go to the “Repositories” folder.
4.      Select the particular repo in which you need to “undo” the last
commit.
5.      Edit db/current and decrement the first number. That’s the HEAD
rev.
6.      Delete db/rev/$BAD_REV
7.      Delete db/revprops/$BAD_REV
8.      Start the visual svn server.

Caution: Ask all the users to delete the checkouts which used $BAD_REV
and check out afresh using ($BAD_REV minus 1).

My Questions are:

a)      Is there any thing missing in the above procedure?
b)      Is there any plan to add this feature in future release versions of
“Visual SVN Server”?

Thanks & Regards,
Ali

Reply via email to