Make a previous revision the HEAD revision on SVN

If you want to change revision A (usually the current revision) back to a previous revision B and apply all changes, use the following command from the main svn directory on your working copy:

svn merge -r A:B .

Note: Notice the dot at the end of that command to update the entire directory!

After that you can commit changes and you will effectively had brought back the repository revision back to a previous one.


Leave a Reply

Powered by WP Hashcash