Louise
Louise

Reputation: 6723

How to get an earlier reversion from a SVN repository?

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

Upvotes: 1

Views: 1254

Answers (4)

Noufal Ibrahim
Noufal Ibrahim

Reputation: 72755

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

Upvotes: 1

Radim Cernej
Radim Cernej

Reputation: 794

svn cat

Please read svn help cat for details.

Upvotes: 0

Tatu Ulmanen
Tatu Ulmanen

Reputation: 124768

Add --revision 901 before the url

Upvotes: 2

Matt
Matt

Reputation: 44058

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

Upvotes: 8

Related Questions