Excerpted from http://aralbalkan.com/1381
To revert to a previous version of your application (roll back changes) in Subversion, you merge the changes from your current revision back to the revision you want to revert to. So, for example, if you want to revert the trunk of your application from revision 73 to 68, you would do the following:
1. svn merge --dry-run -r73:68 http://my.repository.com/my/project/trunk
2. svn merge -r73:68 http://my.repository.com/my/project/trunk
3. svn commit -m "Reverted to revision 68."
Step 1 will perform a dry run and show you what the merge will produce. If you want to see exactly what changes will be applied, do a diff:
svn diff -r73:68 http://my.repository.com/my/project/trunk
Tuesday, January 12, 2010
Subscribe to:
Post Comments (Atom)

2 comments:
You got some typos there, holmes.
Fixed!
Post a Comment