My project is currently at release (that is, r1000), and that is what is checked out to my local repository.
I would like to checkout a much older version to my repository, for purposes of performance comparison (for example, r500).
I have taken my tests and gotten results with r1000.
What svn commands do I need to use to get r500 into my local repository to run the same tests as on r1000?
If you want to write a script which requires no input, you should use the official Subversion command line client instead. checkout a working copy in REV revision: svn checkout --revision REV https://svn.example.com/svn/MyRepo/trunk/ svn checkout https://svn.example.com/svn/MyRepo/trunk/@REV.
Right click on the selected revision(s), then select Context Menu → Revert changes from this revision. Or if you want to make an earlier revision the new HEAD revision, right click on the selected revision, then select Context Menu → Revert to this revision. This will discard all changes after the selected revision.
Advertisements. Subversion provides the checkout command to check out a working copy from a repository. Below command will create a new directory in the current working directory with the name project_repo.
You can update to a given revision using the r-parameter (or --revision)
svn update -r500
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With