#! /bin/bash user="--username $(id -nu)" project=ellcc branch=${project}/branches/release # Delete the old release branch. svn rm ${user} -m "Remove the last release branch." http://ellcc.org/svn/${branch} # Create a branch for the next release. svn cp ${user} -m "Branch for next release." \ http://ellcc.org/svn/${project}/trunk http://ellcc.org/svn/${branch} # Check out the newly created branch, rm -fr ${project}-release svn co ${user} http://ellcc.org/svn/${branch} ${project}-release