I am going to create a branch to work on my code, since the trunk is messed up in ways unimaginable (but that's not the issue). How can I periodically backup the branch I create. It would be located on my companies server, and I wasn't sure if periodically checking out the branch into a new folder is equivalent of "backing up my branch"?
Is that any different than just going to the Repo and copying the folder to my desktop? Do the .svn files contain everything I need to retain my branch history, and be able to revert to previous revisions?
Thanks!
Update **
The reason I ask is because I don't know if someone is going to come along one day and delete the branches.
Thus Spaketh Chobo:
Update **
The reason I ask is because I don't know if someone is going to come along one day and delete the branches.
In Subversion, everything you do is reversible. Even if you delete a branch, you can get it back by simply copying it back from the revision before it was deleted.
For example, let's say your branch was deleted back in revision 100: We'll copy the branch back using the @99
$ svn cp -r99 svn://svn/branches/my_branch@99 svn://svn/my_branch
And, now it's back!
If you really want to protect your branches, you can use pre-commit hooks that prevent people from modifying folders and files. I have one I use here.