Setup subversion server

svn stream tcp nowait svn /usr/bin/svnserve svnserve -i -r /var/lib/svn
adduser --system --home /var/lib/svn svn

Full Backups

$ sudo /usr/bin/svn-hot-backup /var/lib/svn-repos/main /var/lib/backups

svn-fast-backup

$ sudo svn-fast-backup --keep=64 /var/lib/svn-repos/main /backup-dir

Often used commands

svn add myfile.txt

svn stat

svn up

svn ci

svn revert myfile.txt

svn list svn://localhost

svn propedit svn:ignore mydir