The traditional format for most SVN repositories is to create three top-level directories as follows (although it is entirely up to you whether you adopt this approach):
trunk/
branches/
tags/
trunk/
and placing it here with a name to identify it (e.g. version-1.0/
).Note: Unlike other revision control systems such as CVS, there technically no difference between a branch and a tag in Subversion (they are both just copies of trunk). Because of this, it is usually important to ensure once a tag has been created that its contents are never modified. Doing so ensures that you can always checkout an exact snapshot of your files taken at the time the tag was created.
Tip: You can also setup subversion access permissions to enforce this, by only allowing an authorised user write access to the tags directory.
You must be logged in to post a comment.