
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
A Quick Start
|
7
A Quick Start
Some people have trouble absorbing a new technology by reading the sort of top-
down approach provided by this book. This section is a very short introduction to
Subversion, and is designed to give bottom-up learners a fighting chance. If you’re
one of those folks who prefers to learn by experimentation, the following demonstra-
tion will get you up and running. Along the way, we give links to the relevant chap-
ters of this book.
If you’re new to the entire concept of version control or to the copy-modify-merge
model used by both CVS and Subversion, then you should read Chapter 2 before
going any further.
The following example assumes that you have svn, the Subversion
commandline client, and
svnadmin, the administrative tool, ready to
go. It also assumes that your
svn client has been compiled against Ber-
keley DB. To verify this, run
svn --version and make sure the ra_
local
module is available. Without this module, the client cannot
access
file:// URLs.
Subversion stores all versioned data in a central repository. To begin, create a new
repository:
$ svnadmin create /path/to/repos
$ ls /path/to/repos
conf/ dav/ db/ format hooks/ locks/ README.txt
This command creates a new directory /path/to/repos which contains a Subversion
repository. Make sure that this directory ...