I’ve taken over a web application that is using Subversion. When the code is released, a tag is created in the repository, and then the ‘svn update’ command is used on the server to bring the release code up to the latest version.
This process works great, but it has been going on for over 2 years, and now there are over 100 tags on the webserver and add up to over 10 gigs. The partition they are on is getting full, and I would like to remove the older tags and keep only the current tagged version.
From what I understand the tags contain versioning information and are dependent upon each other. I’ve tried just deleting the old tags from the server, but as soon as I run ‘svn up’, they return. Is what I want to do possible? Can I only have the most current tag on the server, or do I need to start thinking of a new deployment process?
Why do you have all your tags checked out?
Checkout the current tag with
svn co http://repo/tags/v1.0When you want to update the webserver you switch to the new tag,
svn switch http://repo/tags/v1.1