
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
73
Chapter 5
CHAPTER 5
Repository Administration
The Subversion repository is the central storehouse of versioned data for any num-
ber of projects. As such, it becomes an obvious candidate for all the love and atten-
tion an administrator can offer. While the repository is generally a low-maintenance
item, it is important to understand how to properly configure and care for it, so that
potential problems are avoided and actual problems are safely resolved.
In this chapter, we discuss how to create and configure a Subversion repository, and
how to expose that repository for network accessibility. We also talk about reposi-
tory maintenance, including the use of the
svnlook and svnadmin tools (which are
provided with Subversion). We address some common questions and mistakes, and
give some suggestions on how to arrange the data in the repository.
If you plan to access a Subversion repository only in the role of a user whose data is
under version control (that is, via a Subversion client), you can skip this chapter alto-
gether. However, if you are, or wish to become, a Subversion repository administra-
tor,
*
you should definitely pay attention to this chapter.
Repository Basics
Before jumping into the broader topic of repository administration, let’s further
define what a repository is.