When a release is made, the current trunk source is copied into the tags directory, to a tag corresponding to the release. The typical repository layout should resemble the following figure:ĭescription of the illustration layout_svn.gifĭevelopment of the main code line occurs in the trunk directories. svn+ssh might not be available on Windows by default.Īlthough Subversion does not require any particular subdirectory structure within a repository, it is a good idea to follow an established convention, as this book does.
Refer to the Subversion documentation for information on how to configure other protocols. Svn ls addition to svn+ssh, there are several other protocols that are supported by Subversion.
Now that you have created a repository, you can use the Subversion client to perform standard operations against the new repository by using the following base REPOS_PATH You can modify this in the REPOS_PATH /conf/nf file. This means that anyone with SSH access, regardless of repository permissions settings, can check out repository files. Ensure that user and group permissions for all files in the new repository reflect the type of access control that you want to have over the repository contents.īy default, anonymous, read-only access is enabled for a new repository. Svnadmin create C:\ciroot\subversion\repositoryĪccess to the repository is controlled by file permissions and the user referenced for accessing the repository through the SVN client. Svnadmin create /ciroot/subversion/repository In this command REPOS_PATH is the absolute path to the local file system. In this command, REPOS_PATH is the absolute path to the local file system.Ĭreate a repository on a given path by running the following command: The command-line utility called svnadmin is the primary tool for server-side administrative operations.Ĭreate a directory for the repository by running the following command: After Subversion is installed, you must create a repository.