Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get from SVN the previous revision before the HEAD?

Tags:

svn

I have the latest revision checked out to my working copy, but it's broken - it can't compiled.

How to get the previous revision before the head? And if it's broken too - the previous before the previous?

like image 389
abatishchev Avatar asked Nov 21 '25 04:11

abatishchev


1 Answers

svn update -r PREV

Here's a link to the documentation on revision keywords.

If none of the keywords (HEAD, BASE, COMMITTED, or PREV) is exactly what you want, then just look in the log and find an explicit revision number to update to.

like image 126
Michael Hackner Avatar answered Nov 25 '25 00:11

Michael Hackner



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!