Created
February 3, 2012 16:13
-
-
Save dubbs/1730900 to your computer and use it in GitHub Desktop.
svn helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function branch() | |
{ | |
echo "http://havok.thezoo/repos/$1/trunk/ http://havok.thezoo/repos/$1/branches/$2/ -m \"BRANCH $2 created from trunk\"" | |
} | |
function tag() | |
{ | |
args=$2 | |
major=`echo $args | awk -F"." '{print $1}'` | |
minor=`echo $args | awk -F"." '{print $2}'` | |
branch=$major.$minor | |
echo "http://havok.thezoo/repos/$1/branches/$branch/ http://havok.thezoo/repos/$1/tags/$2/ -m \"TAG $2 created from BRANCH $branch\"" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment