Tag: svn

Rename a branch in SVN

If you made a typo or a similar mistake when naming your new branch, and you want to rename it, is very simple: svn move http://svn.domain.com/project/branches/old/ http://svn.domain.com/project/branches/new Remember to switch…

Backup all SVN repos

If you need to backup your SVN repositories, then you can use this bash script to do so: #!/bin/bash DATE=`date +"%Y-%m-%d"` BACKUP_DIR=/home/user/svn/backup/${DATE} mkdir -p $BACKUP_DIR for dir in `ls /var/svn/`;…