Internet Bandaid   [RSS Feed]

Archive for February 23rd, 2010

SVN Revert / Rollback

without comments

Revert an entire project to a previous version

  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."

Merge differences between a previous version and current version

svn merge -c -303 http://svn.example.com/repos/calc/trunk

svn commit -m ‘undoing changes’

Written by John Lai

February 23rd, 2010 at 10:49 am

Posted in Uncategorized

Tagged with