How to checkout a specific Subversion revision from the command line?

ranja picture ranja · Sep 15, 2009 · Viewed 568.1k times · Source

I want to checkout a specific revision of a folder in Subversion using the command line.

I don't see an option for specifying the revision number in TortoiseProc.exe,

TortoiseProc.exe /command:checkout <url>

How do I get the revision I want? Is TortoiseProc.exe the right tool for what I want to do?

Answer

rogerdpack picture rogerdpack · Jan 20, 2012

If you already have it checked out locally then you can cd to where it is checked out, then use this syntax:

$ svn up -rXXXX

ref: Checkout a specific revision from subversion from command line