Skip to main content

Checkout a specific revision from SVN from the command line

Warning: This post is over a year old. I don't always update old posts with new information, so some of this information may be out of date.

How to checkout a specific revision from a SVN (Subversion) repository.

If you're checking out the repository for the first time:

$ svn checkout -r 1234 url://repository/path

If you already have the repository checked out:

$ svn up -r 1234

Comments or questions? I'm @opdavies on Twitter.