views:

5002

answers:

5

I would like to checkout a specific revision of a folder in subversion using the command line but don't see an option for specifying the revision number in TortoiseProc.exe.

TortoiseProc.exe /command:checkout

Any ideas on how to get the revision I want? Is TortoiseProc.exe the right tool for what I want to do? Thanks.

+6  A: 

Any reason for using TortoiseProc instead of just the normal svn command line?

I'd use:

svn checkout svn://somepath@1234 working-directory

(to get revision 1234)

Jon Skeet
+3  A: 

I believe the syntax for this is /rev:<revisionNumber>

Documentation for this can be found here

Stuart Thompson
A: 

You'll have to use svn directly:

svn checkout URL[@REV]... [PATH]

and

svn help co

gives you a little more help.

macs
A: 

You could try

TortoiseProc.exe /command:checkout /rev:1234

to get revision 1234.

I'm not 100% sure the /rev option is compatible with checkout, but I got the idea from some TortoiseProc documentation.

system PAUSE
+1  A: 

Either

svn checkout url://repository/path@1234

or

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