Creating Trunk, Branches, and Tags Folders in an SVN Repository

Create a trunk-branches-tags project structure the first time you access an SVN Repository. This structure allows your team to keep better track of multiple versions of a single Project.

A Subversion repository, by default, has three main concepts implemented as folders: Trunk, Branch, and Tag. It’s important for you to understand what these mean and how they’re used in order to maximize the benefit from using SVN.
  • Trunk: This area represents the development of ongoing work in a Clarify solution.
  • Branch: Typically created from the Trunk, this area represents the tested and approved versions of the objects post-development.
  • Tag: This is a convenient way to declare a snapshot in time of a Project in either the Trunk or in a Branch. These are useful for milestones in your Project development, enabling you to have a record of the state of a Project at an important time. Tags are also useful in giving you a baseline from which to view the differences between the snapshot and Branches, or the Trunk.
Note: Create these directories the first time you access a repository. If you create this structure after you already have files in the folder, you will need to move pre-existing files into the new folders.
  1. In the SVN Repository view's SVN Repositories section, right-click on the repository location and select New | Project Structure.
  2. The Create Project Structure window appears. Choose the Monolithic layout radio button. Click OK.
  3. Notice the structure created within the repository's root.