a) Update your local copy of the code base to the latest revision.
b) Merge the previous revision to your current code base.
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
svn merge -rHEAD:1010 https://repo.example.org/project1/trunk /home/sanka/project1/trunk
c) Commit the changes which occurs as a result of above steps.