Reverting in Subversion Repositories
Published on 07 Jun 2004Tags #Subversion
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