tags:

views:

118

answers:

4

Dear developers,

If I execute this command

svn co https://ltfat.svn.sourceforge.net/svnroot/ltfat ltfat

will I get the latest reversion, which is 908.

But I would really like to have reversion 901.

Does someone know how I can do that?

Lots of love, Louise

+8  A: 

Pass the -r flag

E.g.

svn co -r901 https://ltfat.svn.sourceforge.net/svnroot/ltfat ltfat

Or, you can update your existing checkout to an older revision:

svn up -r901

Matt
Thank you so much. =)
Louise
+2  A: 

Add --revision 901 before the url

Tatu Ulmanen
Thanks a lot =)
Louise
A: 

svn cat

Please read svn help cat for details.

radim
This is simply used to output the contents of a file. It can take a -r option to work on an earlier version but it's orthogonal to checking out.
Noufal Ibrahim
+1  A: 

You can suffix the URL with @revno to get what you want. So something like

svn co https://ltfat.svn.sourceforge.net/svnroot/ltfat@901 ltfat

should do the trick. The -r (--revision) option gives you more fine grained control and can also do things to revision ranges (although I'm not sure about the usefulness of this to the checkout command). You can get more details with

svn help checkout
Noufal Ibrahim