Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django-based subversion browser.

Project Description

A Subversion browser for Django that can track and display the contents multiple repositories.


Using svnlit in your Django site

Once you’ve installed the svnlit source into your Python site environment:

  1. Put 'svnlit' in your INSTALLED_APPS setting.
  2. Run the command syncdb.
  3. Add Subversion repositories either through the Django admin application or through the svnlit management command svnadd.


Some of the application’s behaviour can be configured by adding the appropriate settings to your project’s settings file.

The following settings are available:


Default: 20

Amount of time in seconds to allow a prolonged pysvn API call before cancelling.


Default: 86400

Amount of time in seconds to retained data cached by svnlit.


Default: None

Optionally specify a subversion config file that can be passed to pysvn.Client.


Default: 50

Number of changesets to display on the changeset list view.


Default: True

If this setting is enabled, svnlit will sync repositories’ changesets’ on most views. How often the syncing happens when a view is served depends on the SVNLIT_SYNC_INTERVAL setting.


Default: 60

When SVNLIT_AUTO_SYNC is set to True, this setting controls how often the syncing happens. Every time a view is served, the time elapsed since the last sync is checked. If it has exceeded the number of seconds specified by this setting, svnlit will sync the changesets of the repository being viewed.

Management commands

svnlit comes with some commands you can use with

The svnadd command

Add a repository. The label is the name of the repository to be used in the URLs. The root argument is the repository URI, such as file:///var/svn/myrepository or svn:// The command has several additional options. See details by running help svnadd.

The svnsync command

Get repository changes. If no arguments are specified, all repositories tracked by svnlit are synced. Alternately you can specify individual repositories by passing their labels as arguments.

The svnclean command

Clean up expired cache data generated by svnlit. This command can be used as a job in a crontab.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-svnlit-0.1.1.tar.gz (20.7 kB) Copy SHA256 Checksum SHA256 Source Jul 8, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting