
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
187
Chapter 9
CHAPTER 9
Subversion Complete Reference
This chapter is intended to be a complete reference to using Subversion. This
includes the command line client (
svn) and all its subcommands, as well as the repos-
itory administration programs (
svnadmin and svnlook) and their respective subcom-
mands.
The Subversion Command Line Client: svn
To use the command line client, you type svn, the subcommand you wish to use,
*
and any switches or targets that you wish to operate on—there is no specific order
that the subcommand and the switches must appear in. For example, all of the fol-
lowing are valid ways to use
svn status:
$ svn -v status
$ svn status -v
$ svn status -v myfile
You can find many more examples of how to use most client commands in Chapter 3
and commands for managing properties in “Properties” in Chapter 7.
svn Switches
While Subversion has different switches for its subcommands, all switches are glo-
bal—that is, each switch is guaranteed to mean the same thing regardless of the sub-
command you use it with. For example,
--verbose (-v) always means verbose output,
regardless of the subcommand with which you use it.
--auto-props
Enables auto-props, overriding the enable-auto-props directive in the config file.
* Yes, yes, you don’t need a subcommand to use the --version switch, but ...