Subversion Notes

These are some general notes about Subversion


Creating a New Subversion Repository

To create a new subversion repository:
$ svnadmin create path

Here path is the absolute path of where the repository should be located.


Subversion Properties

Set execute permissions on a file:
$ snv propset svn:executable 1 file
Remove execute permissions from a file:
$ svn propdel svn:executable file
Enable RCS/CVS style Id tags on a file:
$ svn propset svn:keywords Id file

Subversion Backup and Restore

To Backup a respository:
$ svnadmin dump repository > dump
To Restore a backup:
$ svnadmin create repository
$ svnadmin load repository < dump
Here repository is the absolute path to the repository and dump is the filename for the backup.

See http://wiki2.archlinux.org/index.php/Subversion_backup_and_restore.


Licensed under a Creative Commons Attribution 2.5 License