SVN Repo Management

Note: We are working on updating our documentation, this page has been identified as still needing improvement. This notice will be removed once these improvements are complete.

Subversion repository administration

Under some circumstances it is necessary to manage your Subversion repository data more directly. The following options are available:

The svnadmin command may be used to perform other administrative functions on the repository. provides an interface for importing an existing repository without losing history.
If content needs to be removed from the repository completely, the repository must be dumped and filtered, then be reimported.

File and Directory Deletion

The SVN delete command will remove a file or directory from a branch or the trunk. Subversion does not currently support the permanent removal of data using a command (they may add an obliterate command some day, but it hasn't happened yet). A deleted file or directory can be retrieved by checking out an older revision that contains an intact copy of the file.

"Version Control with Subversion" provides a more detailed background on data removal and resurrection.

If permanent data removal is needed, you may make use of svndumpfilter and our adminrepo tool to retrieve, filter, and reimport your repository.

Repository Restructuring

The SVN delete, move, copy and propedit allow for full control to make changes to files in the repository. This will allow content to be moved around, copied and set executable when checked out, even if not initially checked in so.

Data Backup provides read-only rsync access to repositories to permit backups.

Data Restore

Generally, it should not be necessary for a project to restore over their repository. The adminrepo tool may be used by the project to administratively manipulate the repository. If greater calamity has occurred with the repository contact the team for assistance.