Subversion – Reverting back to a previous Revision

We somehow deleted many files from one of our internal applications today, as far as who did it, we aren’t sure. But we are grateful to have had it all backed up on subversion!

Not sure what revision you are at?

  • Simply go to the directory you are wanting to make the changes to and type:
  • svn info

The command to revert back to a previous revision is:

svn merge -r:15:13

  • 15 Being the current revision
  • 13 Being the revision we want to go back to
  • And the final is the path to your repository
Tuesday, July 28th, 2009 Subversion

Leave a Reply

You must be logged in to post a comment.

[ad code=1 align=center]