SVN Rollback Repository to a Previous Revision with svn merge


/ Published in: SVN
Save to your folder(s)

1. Update your working copy to the latest revision.

2. Merge a specific revision to your current working copy:

svn merge -rHEAD:xxxx [svn-repository-url] [path-to-local-copy]

* HEAD – indicates the revision of the local copy of the code is the latest revision.
* xxxx – is the revision which want to rollback.
* [svn-repository-url] - is the project's URL in SVN repository
* [path-to-local-copy] - is the path to the local copy of the project

3. Commit the changes which occurs as a result of above steps.


Copy this code and paste it in your HTML
  1. svn merge -r1234:1000 http://repository.url/projects/directory /LOCAL/repository/directory

URL: http://sankas.blogspot.com/2008/02/how-to-rollback-svn-repository-to.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.