Documentation
The Subversion Automation package includes a command line utility called sva. Using this sva utility, you can access all the power of Subversion in a straight forward manner.
General information about the sva utility, along with detailed information about its features, is provided below.
General Usage
The sva utility is invoked in a manner similar to the Subversion svn command. When you use the sva utility, you supply optional command line flags, a command, and possibly more command line flags.
Invocation Example
sva -r test create hello
This runs the sva utility, telling it to use the test repository and to create a project with the name hello. Here is a more complex example:
sva -r test create -f hello
Auto-Discovery
If you invoke sva from a Subversion controlled directory, it will automatically
use the current repository URL and project name, unless you give it the -r and
-p flags.
SVA Commands
To access the features of the sva utility you use commands. The following table enumerates the list of available commands:
| Command | Description |
|---|---|
| Bug | Work with release branch bug fixes |
| Checkout | Checkout a project from the repository |
| Config | Manage the sva configuration file |
| Create | Create a new project in the repository |
| Experimental | Work with experimental branches off the trunk |
| Externals | Lock/Unlock svn:externals at specific revisions |
| Info | Show information about a project |
| List | List directory contents, projects, releases, etc. |
| Release | Create a release branch (major.minor), or tag a release (macro) |
Getting More Help
For a list of top-level command line flags, and commands, invoke sva with
the --help command line flag.
sva --help
For information about a specific command, give the --help option to the command, for example:
sva create --help
Theory
Implementation details (such as the repository directory structure) can be found on the theory page.
Updated Feb 20, 2007 by Peter Jones
Tags:
Comments:
Have something to say? Login to post a comment.