Checkout a specific revision from SVN from the command line

Posted on 23rd May 2012

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

About Me

Picture of Oliver

Oliver Davies is a Full Stack Web Developer and System Administrator based in the UK. He is a Senior Software Engineer and Technical Team Lead at Inviqa and a part-time freelancer specialising in Drupal and Symfony development and Linux systems administration.