Skip to content
Trent Nelson edited this page Nov 24, 2013 · 4 revisions

Pre-Requisites

This section assumes you’ve already installed the following software components on your server that hosts Subversion repositories:

  • Python 2.6 or 2.7
  • Subversion 1.6 or higher
  • Subversion Python bindings

To test pre-requisites, open up a Python console and type the following:

% python
Python 2.7.5 (default, Aug  2 2013, 19:34:51) 
[GCC 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.60))] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn
>>>

The import svn statement should work without any errors being raised. If you see something like this, it means you haven't installed the bindings for Subversion. These should be readily available on all OS X and all major Linux and BSD distributions.

% python
Python 2.7.2 (default, Jan 20 2012, 09:28:53) 
[GCC 4.2.2 20070831 prerelease [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named svn
>>>

Verify Installation

The easiest way to test if Enversion has installed properly is by running the evnadmin command. This command has been designed to be similar to svnadmin; if you're comfortable with the latter, you'll have no problem with evnadmin.

Calling evnadmin with no arguments will print out available subcommands:

% evnadmin
Type 'evnadmin <subcommand> help' for help on a specific subcommand.

Available subcommands:
    analyze
    create
    disable-remote-debug (drd)
    doctest
    dump-config (dc)
    dump-default-config (ddc)
    dump-hook-code (dhc)
    enable
    enable-remote-debug (erd)
    find-merges (fm)
    fix-hooks (fh)
    purge-evn-props (pep)
    root-info (ri)
    run-hook (rh)
    selftest
    show-config-file-load-order (scflo)
    show-repo-hook-status (srhs)
    show-repo-remote-debug-sessions (srrds)
    show-roots (sr)
    toggle-remote-debug (trd)
    version

%

What's Next?

Once you've got Enversion installed, take a look at the Tutorial 1 - New Repository guide.