summaryrefslogtreecommitdiff
path: root/archrelease
blob: 01c1472acd4839c47b0dc015f58afd61b73d7c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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