devtools/archrelease

20 lines
286 B
Plaintext
Raw Normal View History

#!/bin/bash
if [ "$1" = "" ]; then
echo "Usage: archrelease <repo>"
exit 1
fi
if [ ! -d ../repos/$1 ]; then
pushd ..
svn copy trunk ../repos/$1
popd
else
svnmerge merge ../repos/$1
fi
pushd ..
svn commit -F trunk/svnmerge-commit-message.txt
popd
rm svnmerge-commit-message.txt