#!/usr/local/bin/bash if (test "$1" = "" ) then echo "The repository-name hasn't been setted yet. Usage:" echo "make-merge.sh " exit -1 fi if (test "$2" = "" ) then echo "The branch name hasn't been setted yet. Usage:" echo "make-merge.sh " exit -2 fi if (test "$3" = "" ) then echo "The base-release-version name hasn't been setted yet. Usage:" echo "make-merge.sh " exit -3 fi cd trunk/ if ( test "$3" = "merge") then svn merge --reintegrate svn://javaforum.hu/$1/branches/$2/ fi if ( test "$3" = "commit") then svn ci -m "The changes of the '/branches/$2' has been merged into the '/trunk'." . fi