svn Administering SVN Creating A New Repo


New repository can be created with two different options:

1. Using command line

Execute following command. It will create a directory for the repository, but parent path has to be present. i.e. in the following example, /var/svn should already be there, while it will create my_repository directory.

svnadmin create /var/svn/my_repository

If you are using TortoiseSVN, you can use GUI to create repo.

  1. Open the directory where you want to create a new repository.
  2. Right click on the folder and select TortoiseSVN -> Create Repository here...
  3. A repository is then created inside the selected folder. Don't edit those files yourself! If you get any errors make sure that the folder is empty and not write protected.