#!/bin/sh case $# in 1) rel=$1 ;; *) echo "usage: $0 " ; exit 1 ;; esac root="http://svn.chezphil.org/decimail" svncopy --tag "${root}/trunk" "${root}/tags/releases" svn mv -m"Fixup ${rel} directory hierarchy" \ "${root}/tags/releases/trunk" "${root}/tags/releases/${rel}"