Sorry, I'm new to SVN and I looked around a little for this. How do you mark a major version in SVN, kind of like set up a restore point. Right now I just setup my server and added all my files- I've been intermittently committing different changes. When I have something in a stable state is there a way to mark this so I can easily revert back to it if necessary?
Sounds like you're looking for tags.
Tags in the Subversion book
"A tag is just a “snapshot” of a project in time"
The typical way is to create a 'tag' directory in the root of your repository and copy the entire trunk over to that directory. (Copying is cheap in Subversion because it's just adding references to specific revisions of existing files.)
So you might say:
svn cp http://svn.example.com/trunk/ http://svn.example.com/tags/major-revision-01/
See the Subversion book for more information, particularly the tags chapter.
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