4Creating a Local Repository

Most people using Subversion don’t need to worry about creating or maintaining a repository since it’s an administrative task usually performed by a server administrator or Unix guru. If you don’t have access to one of these people or if you’d like to experiment with your own repository, you can use what’s called a local repository.

A local repository needs to live on your hard drive somewhere. For Windows, this might be a dedicated directory on the C: drive; for Unix and Mac OS X, it’s probably somewhere in your home directory. Once you have created an empty directory, you need to tell Subversion to initialize a repository in that directory. Command-line users should use the svnadmin command to achieve this. Tortoise ...

Get Pragmatic Guide to Subversion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.