
852
|
Chapter 14: The Subversion Version Control System
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--verbose, -v
Print out as much information as possible while running any subcommand.
This may result in Subversion printing out additional fields, detailed informa-
tion about every file, or additional information regarding its actions.
--version
Print the client version info. This information not only includes the version
number of the client, but also a listing of all repository access modules that
the client can use to access a Subversion repository.
--xml
Prints output in XML format.
svn Subcommands
The svn command is the main user interface to Subversion. It works by accepting
subcommands with arguments. The general form is:
svn subcommand [options] arguments
add
svn add path ...
Add files and directories to your working copy and schedule them
for addition to the repository. They will be uploaded and added to
the repository on your next commit. If you add something and
change your mind before committing, you can unschedule the
addition using svn revert.
Alternate names: none
Changes: working copy
Accesses repository: no
Options
--auto-props
--config-dir dir
--no-auto-props
--non-recursive (-N)
--quiet (-q)
--targets filename
Examples
To add a file to your working copy:
$ svn add foo.c
A foo.c
You can add a directory without adding its contents: ...