SVN revert local checkout to a previous revision

Envision this: For some reason, you’ve accidentally executed:

svn up

picking up all the new updates on the local checkout (co) of your working branch and you were lucky enough to have executed before:

svn info

to capture what was the revision number of the repository that local co was at. Say it was revision number 17456. You can rollback your local co to that revision number by running:

svn up -r 17456
Advertisements