Using Subversion Command Line

THL Toolbox > Server Issues > Developers’ Zone > Subversion User Guide > Advanced Subversion Issues > Using Command Line

Using Subversion Command Line Locally

Contributor(s): Than Grove

Some GUI interfaces to Subversion (SVN) may also allow the use of your computers command line to interface with repositories, but the recommended Windows client, Tortoise, does not. To use the command-line, in such cases, a separate command-line SVN client must be installed. Two such clients are:

  1. external link: Slik: Provide clients for Windows, Mac, and Linux
  2. external link: CollabNet: Second option is a command-line client for Windows only.

When these are installed, you can navigate in a DOS or Terminal Window to a local repository folder found on your computer and type such commands as:

  • svn info - provides information about that folder's, latest updates, current revision, etc.
  • svn update - updates the folder to match the current revisions in the repository
  • svn commit - commits recent changes in the local folder to the repository

The full list of commands is found in Chapter 9 of the external link: SVN Book.

Installing a command-line SVN client also allows you to write simple batch files to update all of your repositories (e.g., dev, staging, production} automatically

Provided for unrestricted use by the external link: Tibetan and Himalayan Library