Reverting in Subversion RepositoriesPublished on 07 Jun 2004
It is sometimes useful to revert to the revision of a file that has already been checked in:
- Retrieve previous revision X of file FILE:
svn cat -r X FILE >FILE
- Commit previous revision to repository:
svn commit --message "reverted to rX" FILE
Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.