summaryrefslogtreecommitdiffstats
path: root/archrelease
diff options
context:
space:
mode:
Diffstat (limited to 'archrelease')
-rwxr-xr-xarchrelease6
1 files changed, 6 insertions, 0 deletions
diff --git a/archrelease b/archrelease
index f1fbb26..70845a6 100755
--- a/archrelease
+++ b/archrelease
@@ -23,6 +23,12 @@ fi
echo -n 'releasing package...'
pushd .. >/dev/null
+url=$(svn info | grep URL)
+url="${url##*URL: }"
+if [ -z "$(svn diff ${url}/trunk ${url}/repos/${1} 2>/dev/null)" -a $? -eq 0 ]; then
+ echo 'already done'
+ exit 1
+fi
if [ -d repos/$1 ]; then
svn rm --force -q repos/$1
svn commit -q -m "archrelease: remove $1"